Commit Graph

10913 Commits

Author SHA1 Message Date
Matthew Flatt
ada4a7aeae allow negative years in a 'date' structure
svn: r13728
2009-02-18 21:29:58 +00:00
Stevie Strickland
7e1ea98876 Pull back Robby's allowance of all struct options just a bit, plus handle
the ones we do allow natively.

svn: r13727
2009-02-18 21:14:50 +00:00
Robby Findler
172b0828e8 split out the input section into chunks, added contracts to the structs (and fixed a bunch of test cases that were kind of lax about the struct values)
svn: r13726
2009-02-18 13:48:57 +00:00
Robby Findler
cf856a33bf forward keywords
svn: r13725
2009-02-18 13:11:08 +00:00
Eli Barzilay
cc29c603c0 Welcome to a new PLT day.
svn: r13724
2009-02-18 08:50:18 +00:00
Ryan Culpepper
112811258b stxclass: undo r13714, because it messes up non-stx attributes
svn: r13723
2009-02-18 04:44:38 +00:00
Ryan Culpepper
59727cc4bc stxclass: added and- and or-patterns, box and vector patterns
svn: r13721
2009-02-18 04:01:52 +00:00
Robby Findler
b6c5e2ee3d wrote a little more, finished 6
svn: r13720
2009-02-18 03:01:31 +00:00
Matthew Flatt
87f92bc33e doc clarification
svn: r13719
2009-02-18 02:59:56 +00:00
Stevie Strickland
7e8816ce0f * Add initial version of define-struct/contract
* Allow uncontracted exports of syntax from a with-contract form.

svn: r13717
2009-02-18 02:25:45 +00:00
Ryan Culpepper
12fd4bfc56 stxclass: convert rhs of #:with to syntax
svn: r13714
2009-02-18 00:04:32 +00:00
Stevie Strickland
770aab6700 Move first-order checks for free-var ctcs to before the body of the
with-contract expansion.

svn: r13713
2009-02-17 23:38:46 +00:00
Jay McCarthy
76853279c3 Moved to SU3
svn: r13712
2009-02-17 22:11:39 +00:00
Jay McCarthy
acef860a60 Unit contracts
svn: r13711
2009-02-17 22:11:14 +00:00
Robby Findler
bd208ad520 checkpointing: got thru the first five sections as a first draft; broke out the next two sections
svn: r13710
2009-02-17 21:50:10 +00:00
Matthew Flatt
b5bc25915a fix image scaling in Scribble HTML output
svn: r13709
2009-02-17 21:32:26 +00:00
Robby Findler
42a5b15831 switching machines to be able to make an image
svn: r13708
2009-02-17 21:01:55 +00:00
Stevie Strickland
3ff2184a38 Add the first-order free variable contract checks I mentioned earlier.
svn: r13707
2009-02-17 20:50:56 +00:00
Stevie Strickland
9098c94e9c Add first-order checks for free variable contracts, and tests for everything.
svn: r13706
2009-02-17 20:48:04 +00:00
Stevie Strickland
d18a56a956 Okay, no infinite syntax unrolling, please.
svn: r13705
2009-02-17 20:32:04 +00:00
Stevie Strickland
cf916f51fa Forgot to add rename-transformers for unprotected ids.
svn: r13704
2009-02-17 19:58:26 +00:00
Stevie Strickland
999d9357ab * Fix it so we say definition or function in define/contract appropriately
again.
 * Fix horribly complicated and ridiculous version of with-contract with
   a more streamlined, and more importantly, correct version.

svn: r13703
2009-02-17 19:31:57 +00:00
Stevie Strickland
5f01ad8412 Copy and paste error.
svn: r13702
2009-02-17 18:27:54 +00:00
Stevie Strickland
792dc70ea6 Add description of what #:freevars/#:freevar does.
svn: r13701
2009-02-17 18:26:24 +00:00
Stevie Strickland
64a68db15d Initial attempt at free var contracts. Needs a little more work, but might
handle Robby's use cases.

svn: r13700
2009-02-17 18:18:53 +00:00
Stevie Strickland
560836a804 Draw :-> and :--> ourselves, similar to --> and friends.
svn: r13698
2009-02-17 16:14:12 +00:00
Robby Findler
e21ecbe074 a little more progress on the essay -- also started using define/contract instead of define
svn: r13697
2009-02-17 15:41:43 +00:00
Matthew Flatt
941a8935aa remove unneeded dependency of framework on parts of Scribble; Redex doc repairs; add #:style? argument to deftech
svn: r13696
2009-02-17 15:22:55 +00:00
Stevie Strickland
e0e6fcb465 Add unicode longmapsto.
svn: r13695
2009-02-17 15:02:07 +00:00
Stevie Strickland
316f48c8e1 Add a guide reference here.
svn: r13694
2009-02-17 14:55:55 +00:00
Stevie Strickland
7920cc48a3 Clean up define/contract's description a bit, and avoid leaning on
with-contract as much.

svn: r13693
2009-02-17 14:30:00 +00:00
Robby Findler
88075e2e50 a commit to show something to stevie
svn: r13692
2009-02-17 14:20:24 +00:00
Matthew Flatt
db5cab09e7 doc scribble/scheme; add make-element-id-transformer
svn: r13691
2009-02-17 13:51:35 +00:00
Robby Findler
80bcae687c put the requires in the right place
svn: r13690
2009-02-17 13:48:39 +00:00
Eli Barzilay
c82cc16dfc Welcome to a new PLT day.
svn: r13689
2009-02-17 08:50:18 +00:00
Matthew Flatt
0f18d68649 Scribble: change handling of argumentd in defproc, etc., to use lexical bidning instead of parameters and symbols; fix some docs
svn: r13688
2009-02-17 01:15:38 +00:00
Robby Findler
723dc26903 I think I'm finally getting the hang of this stuff ...
svn: r13686
2009-02-17 01:09:06 +00:00
Matthew Flatt
ee32e728bc fix make-parameter for SRFI-39
svn: r13684
2009-02-17 00:14:11 +00:00
Sam Tobin-Hochstadt
c7809e5838 Use stxclass for require/opaque-type
svn: r13682
2009-02-16 23:06:23 +00:00
Matthew Flatt
9927b0b576 changed htdp languages to allow identifier module paths; scribble improvements to latex back-end; added definterface
svn: r13681
2009-02-16 22:04:51 +00:00
Robby Findler
4056e03bc1 made some progress
svn: r13676
2009-02-16 19:43:48 +00:00
Robby Findler
6e11cac115 fixed typo
svn: r13675
2009-02-16 18:26:06 +00:00
Eli Barzilay
580ec62341 minor doc formatting
svn: r13674
2009-02-16 17:42:46 +00:00
Matthew Flatt
7947367373 rename local smaller
svn: r13673
2009-02-16 17:06:21 +00:00
Eli Barzilay
a016d20e84 no underlines
svn: r13672
2009-02-16 16:44:34 +00:00
Eli Barzilay
58e618478e #:part is gone
svn: r13671
2009-02-16 16:43:00 +00:00
Eli Barzilay
6539836e12 some improvements
svn: r13670
2009-02-16 16:42:37 +00:00
Matthew Flatt
7b57156ac2 add #:underlined? argument to elemref
svn: r13669
2009-02-16 16:42:22 +00:00
Matthew Flatt
76042d8b4c added smaller to scribble/basic
svn: r13668
2009-02-16 16:35:06 +00:00
Matthew Flatt
6250d5e993 better latex rendering of tt underscore
svn: r13667
2009-02-16 16:20:22 +00:00