Commit Graph

16 Commits

Author SHA1 Message Date
Jon Rafkind
60f1c85207 [honu] remove context argument from macro transformers 2012-08-20 12:28:14 -06:00
Jon Rafkind
4852904035 [honu] wrap expressions with let so local macro parsers can be defined. replace more usages of %racket with racket-syntax 2012-02-21 16:19:10 -07:00
Jon Rafkind
9e8a77c5c5 [honu] fix more references to := 2012-01-26 13:32:52 -07:00
Jon Rafkind
1fac120cd2 [honu] move core definition of honu-syntax to another module 2012-01-26 13:32:52 -07:00
Jon Rafkind
d7a35c1eb8 [honu] use = for mutation to be consistent with other uses. put where clauses of list comprehensions on the right side 2012-01-26 13:32:51 -07:00
Jon Rafkind
6552d3f2cd [honu] allow classes to accept 0 constructor parameters. add 'to' as a binary operator that creates a list of numbers 2012-01-18 12:34:51 -07:00
Jon Rafkind
a38949d8ba [honu] use reified syntax classes to check for literals instead of direct comparisons with free-identifier=? 2011-11-15 23:36:00 -07:00
Jon Rafkind
219a39575a [honu] actually check for separator for the separate ids class. parse constructor arguments with comma separated ids 2011-11-15 12:19:27 -07:00
Jon Rafkind
1f8c1950fb [honu] allow multiple variables to be declared at once 2011-11-14 17:49:15 -07:00
Jon Rafkind
0d89827a85 [honu] share the variable declaration syntax by moving the pattern to a syntax class 2011-11-14 17:49:15 -07:00
Jon Rafkind
5cb1834376 [honu] redo operator parsing to fix various precedence cases. add a new quasi-operator macro that can consume as much input on the right as it wants and use that to call methods on objects. change = to equal?. allow variables to be defined in classes 2011-11-14 00:45:55 -07:00
Jon Rafkind
dfe33f8919 [honu] convert function bodies from honu to racket 2011-11-11 10:35:09 -07:00
Jon Rafkind
6b6ca7a7c3 [honu] allow %racket expressions to remain inside honu syntax and remove them after parsing 2011-11-10 15:55:54 -07:00
Jon Rafkind
b25406db4c [honu] re-attach the output of macros to the input stream. wrap racket expressions so they dont get reparsed 2011-11-09 11:17:40 -07:00
Jon Rafkind
501efef8a1 [honu] dont produce an extra void expression in a block. add a for form to iterate over a list. add an example of linq with xml 2011-09-13 12:15:47 -06:00
Jon Rafkind
1650294a83 [honu] add simple class form. share the function parsing syntax class 2011-09-13 12:15:47 -06:00