Commit Graph

18662 Commits

Author SHA1 Message Date
Jon Rafkind
e1ca24b80d add parse file 2010-10-22 10:48:12 -06:00
Jon Rafkind
a1e26dd01b try to fix infix macros 2010-10-22 10:48:12 -06:00
Jon Rafkind
1b356476a4 change printf to debug. add infix macro parser 2010-10-22 10:48:11 -06:00
Jon Rafkind
c45aba592d allow comma in templates 2010-10-22 10:48:11 -06:00
Jon Rafkind
86e7b98d65 fix condition. patterns can take literals 2010-10-22 10:48:11 -06:00
Jon Rafkind
29ed62021c convert syntax back to honu form 2010-10-22 10:48:11 -06:00
Jon Rafkind
eeaf6b4981 fix with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
02e87cdc0c add with-syntax 2010-10-22 10:48:10 -06:00
Jon Rafkind
03562eb8e3 fix if. add check_expect. add some comparison operators 2010-10-22 10:48:10 -06:00
Jon Rafkind
4ee161b296 dont require core files 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d26928a3c parse blocks 2010-10-22 10:48:09 -06:00
Jon Rafkind
00094ba4e3 make print a macro 2010-10-22 10:48:09 -06:00
Jon Rafkind
3d6de914b4 add print - display + newline 2010-10-22 10:48:09 -06:00
Jon Rafkind
9c30bda973 use honu/core. make a convenient macro for providing stuff 2010-10-22 10:48:08 -06:00
Jon Rafkind
00989ef01b add honu function 2010-10-22 10:48:08 -06:00
Jon Rafkind
32227e391d move rest of honu files. point core at local private files 2010-10-22 10:48:08 -06:00
Jon Rafkind
b185147a45 separate honu into core and user-level modules 2010-10-22 10:48:07 -06:00
Jon Rafkind
ebb177f28d parse assignment. add simple struct form that can be accessed by field identifiers 2010-10-22 10:48:07 -06:00
Jon Rafkind
a3fefc1c35 add struct example 2010-10-22 10:48:07 -06:00
Jon Rafkind
9a984fcc2b parse assignment 2010-10-22 10:48:06 -06:00
Jon Rafkind
a998a57000 add function tests 2010-10-22 10:48:06 -06:00
Jon Rafkind
222a3f509b allow multiple patterns in a macro. parse call before macro invocation. expressions can end with any number of semicolons 2010-10-22 10:48:06 -06:00
Jon Rafkind
44fc323cff emit macro-debugger steps. dont try to use phased macro invocation 2010-10-22 10:48:05 -06:00
Jon Rafkind
af678f40ec start to trampoline macro expansion 2010-10-22 10:48:05 -06:00
Jon Rafkind
2c6cf77b53 add another introducer. compute syntax position more accurately. parse statements 2010-10-22 10:48:05 -06:00
Jon Rafkind
befa88f1ac use literal sets 2010-10-22 10:48:05 -06:00
Jon Rafkind
99545f8a08 repeater for entire expressions 2010-10-22 10:48:04 -06:00
Jon Rafkind
81544ea644 use a different syntax for expressions 2010-10-22 10:48:03 -06:00
Jon Rafkind
9894670dbe define patterns (really syntax-classes). use different parsers depending on the context. implement provide and require 2010-10-22 10:48:00 -06:00
Jon Rafkind
0ec71da614 attach original syntax properties during expansion. add debug syntax
classes.
2010-10-22 10:48:00 -06:00
Jon Rafkind
d90235efbc dont parse raw scheme syntax. fix comma replacer 2010-10-22 10:47:59 -06:00
Jon Rafkind
59db2491d0 honu-syntax supports commas 2010-10-22 10:47:59 -06:00
Jon Rafkind
1b088f7c37 expand syntax properly. force use of syntax-parse classes 2010-10-22 10:47:59 -06:00
Jon Rafkind
d5357f6dca expose syntax-parse classes 2010-10-22 10:47:58 -06:00
Jon Rafkind
721c815d89 allow macros to reparse their input 2010-10-22 10:47:58 -06:00
Jon Rafkind
066166ce65 start to get transformers to work. weave in scheme syntax 2010-10-22 10:47:58 -06:00
Jon Rafkind
3d52f5ff12 parse macro functions 2010-10-22 10:47:58 -06:00
Jon Rafkind
31cafd7974 move syntax-rules macro to a syntax-parse pattern 2010-10-22 10:47:57 -06:00
Jon Rafkind
d5533606e6 attach honu-syntax to output from syntax-rules macros 2010-10-22 10:47:57 -06:00
Jon Rafkind
177141a852 test 2010-10-22 10:47:57 -06:00
Jon Rafkind
837f1e24e5 test 2010-10-22 10:47:56 -06:00
Jon Rafkind
64255032bb start to modify scheme's `syntax' binding 2010-10-22 10:47:56 -06:00
jon
2f5593a104 implement honu-syntax 2010-10-22 10:47:56 -06:00
jon
99e6eb5e9d fix parser so that it parses left to right 2010-10-22 10:47:56 -06:00
jon
72f83d19a9 parse transformers 2010-10-22 10:47:55 -06:00
jon
e052c33998 add hook for parsing transformers 2010-10-22 10:47:55 -06:00
Robby Findler
35f64145ca adjusted the way caching works for bitmaps to be more effective 2010-10-22 06:45:57 -05:00
Robby Findler
22ce241d4d no #%plain-app because test is not a function... 2010-10-22 06:45:56 -05:00
Robby Findler
c34bd6c28d fix the metadata parsing to be more robust so drracket does not crash when opening a corrupt htdp teaching language file
closes PR 11332
2010-10-22 06:45:56 -05:00
Sam Tobin-Hochstadt
dcd3f9a9aa Flush output in fuzz testing. 2010-10-21 23:40:12 -07:00