Matthew Flatt
|
ec380e34ed
|
remove built-in reader and printing support for Honu
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
|
2011-10-05 09:40:27 -06:00 |
|
Eli Barzilay
|
81e0f3f3d7
|
Move scribblings/honu' to honu/scribblings'.
Also, use `user-doc' since it's not distributed, yet.
|
2011-09-21 16:10:48 -04:00 |
|
Jon Rafkind
|
34689f1711
|
[honu] checkpoint for docs
|
2011-09-20 18:05:27 -06:00 |
|
Jon Rafkind
|
b4a74fc12d
|
[honu] return eof at the repl if an eof-object is read
|
2011-09-15 17:21:24 -06:00 |
|
Jon Rafkind
|
808c2bdf27
|
[honu] read and parse a line at the repl
|
2011-09-15 16:01:54 -06:00 |
|
Jon Rafkind
|
219516b321
|
[honu] use an empty "begin" if nothing was parsed
|
2011-09-15 16:01:54 -06:00 |
|
Jon Rafkind
|
0b4e630b8c
|
[honu] return currently parsed form if a macro is seen
|
2011-09-15 16:01:54 -06:00 |
|
Jon Rafkind
|
18b18aaded
|
[honu] add string comparison. add test.xml file for linq example
|
2011-09-15 16:01:54 -06:00 |
|
Jon Rafkind
|
aaed60493a
|
[honu] recognize linq literals
|
2011-09-15 16:01:53 -06: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 |
|
Jon Rafkind
|
062a20f7e1
|
[honu] function application respects precedence so that dot can bind higher
|
2011-09-13 12:15:47 -06:00 |
|
Jon Rafkind
|
6bf5d43c37
|
[honu] expand honu's #%top-interaction to racket's #%top-interaction
|
2011-09-06 17:33:13 -06:00 |
|
Jon Rafkind
|
d53332c1f7
|
[honu] remove debugging output
|
2011-09-06 17:33:13 -06:00 |
|
Jon Rafkind
|
ffc5387ac3
|
[honu] configure honu runtime to use the honu syntax reader. this allows honu to be used at the repl
|
2011-09-06 17:33:12 -06:00 |
|
Eli Barzilay
|
6ebf3ab32d
|
Revert "Abolish "typed-scheme"."
This reverts commit 49a89da818 .
(Will be redone later today.)
|
2011-09-04 10:27:58 -04:00 |
|
Eli Barzilay
|
49a89da818
|
Abolish "typed-scheme".
|
2011-09-04 08:46:03 -04:00 |
|
Jon Rafkind
|
5f0a221a03
|
[honu] allow already parsed expression to pass through
|
2011-08-30 21:11:11 -06:00 |
|
Jon Rafkind
|
6af36bc25d
|
[honu] treat #\return like #\newline
|
2011-08-30 17:19:17 -06:00 |
|
Jon Rafkind
|
d88b75a9b7
|
[honu] macros can be defined with honu syntax
|
2011-08-30 17:19:17 -06:00 |
|
Jon Rafkind
|
6c75b60d1b
|
[honu] add assignment operator
|
2011-08-30 17:19:17 -06:00 |
|
Jon Rafkind
|
758edda5ce
|
[honu] accidentally added these files, so removing them
|
2011-08-19 17:21:56 -06:00 |
|
Jon Rafkind
|
242337286d
|
[honu] move test to the tests collection
|
2011-08-19 17:13:22 -06:00 |
|
Jon Rafkind
|
6b766cd395
|
[honu] add list comprehensions
|
2011-08-19 17:12:14 -06:00 |
|
Jon Rafkind
|
816b1747e9
|
[honu] fix if
|
2011-08-19 17:12:13 -06:00 |
|
Jon Rafkind
|
c6e35ff665
|
[honu] move test file. minor cleanups to the parsing code
|
2011-08-19 17:12:13 -06:00 |
|
Jon Rafkind
|
60aabdc8c5
|
[honu] don't stop parsing the current expression after invoking a macro.
add a file to help test honu.
|
2011-08-19 17:12:13 -06:00 |
|
Jon Rafkind
|
07715da5e9
|
[honu] dont remove syntaxes that end expressions from the stream so macros can consume them. add a simple cond macro
|
2011-08-17 13:47:58 -06:00 |
|
Jon Rafkind
|
85110e177b
|
[honu] handle unary operators. add some common functions and binary operators
|
2011-08-17 13:47:58 -06:00 |
|
Jon Rafkind
|
0bac61f538
|
[honu] add flow operator which composes functions from right to left
|
2011-08-12 15:16:39 -06:00 |
|
Jon Rafkind
|
d4763da563
|
[honu] add structs and use . to lookup the field names in a struct instance
|
2011-08-12 15:16:39 -06:00 |
|
Jon Rafkind
|
5157a333bb
|
[honu] use brackets to do list lookup instead of using dot
|
2011-08-12 15:16:39 -06:00 |
|
Jon Rafkind
|
17f1ac53be
|
[honu] add dot as an operator. parse parenthesized expressions
|
2011-08-10 17:33:43 -06:00 |
|
Jon Rafkind
|
c8695ddf2e
|
[honu] set associativty for operators
|
2011-08-10 17:33:43 -06:00 |
|
Jon Rafkind
|
2f2e1e6a03
|
[honu] add :: as the infix cons operator
|
2011-08-09 16:25:28 -06:00 |
|
Jon Rafkind
|
0871117538
|
[honu] add [] as a list form
|
2011-08-09 16:25:28 -06:00 |
|
Jon Rafkind
|
ab0a21db99
|
[honu] add quote and quasiquote
|
2011-08-09 16:25:27 -06:00 |
|
Jon Rafkind
|
4538335b1c
|
[honu] return a void expression if there is no current expression waiting to be processed
|
2011-08-09 16:25:27 -06:00 |
|
Jon Rafkind
|
3bcf99b8f6
|
[honu] parse brace-enclosed code as an expression
|
2011-08-09 11:57:52 -06:00 |
|
Jon Rafkind
|
b823df23a7
|
[honu] handle empty files
|
2011-08-09 11:57:52 -06:00 |
|
Jon Rafkind
|
182cded2a3
|
[honu] return the last expression if two atomic expressions occur in sequence. add a simple for loop macro
|
2011-08-09 11:57:52 -06:00 |
|
Jon Rafkind
|
4324a1a33d
|
[honu] add colored lexer so drracket can color honu syntax appropriately
|
2011-08-03 14:37:26 -06:00 |
|
Jon Rafkind
|
adecdd5603
|
[honu] return a parse error if the lexer couldnt find any other matching regex
|
2011-08-03 14:37:26 -06:00 |
|
Jon Rafkind
|
7f3e434cb5
|
[honu] allow nested block comments
|
2011-07-29 18:42:55 -06:00 |
|
Jon Rafkind
|
cd5d0ee9a3
|
[honu] fix escapes in string literals
|
2011-07-29 16:59:48 -06:00 |
|
Jon Rafkind
|
7532515110
|
[honu] use regular expressions to lex comments
|
2011-07-29 16:59:48 -06:00 |
|
Jon Rafkind
|
cd62f1983f
|
show line/column information for parsing errors
|
2011-07-29 16:59:48 -06:00 |
|
Jon Rafkind
|
1e4c9b4ec3
|
use new reader for #lang honu
|
2011-07-26 17:41:07 -06:00 |
|
Jon Rafkind
|
ae6a69b8eb
|
make syntax objects
|
2011-07-26 17:41:07 -06:00 |
|
Jon Rafkind
|
a39cd8773a
|
refactor
|
2011-07-26 17:41:07 -06:00 |
|