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
|
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 |
|
Jon Rafkind
|
df9b8db14a
|
parse sub-trees
|
2011-07-26 17:41:06 -06:00 |
|
Jon Rafkind
|
1f9b9b4c51
|
parse tokens into a tree
|
2011-07-26 17:41:06 -06:00 |
|
Jon Rafkind
|
1978002312
|
handle end of line comments
|
2011-07-26 12:31:45 -04:00 |
|
Jon Rafkind
|
f941e56f71
|
lex identifiers and delimiters
|
2011-07-26 12:31:45 -04:00 |
|
Jon Rafkind
|
4e8e18463b
|
add lexer for honu
|
2011-07-26 12:31:44 -04:00 |
|
Jon Rafkind
|
23e907aa5c
|
add printf. recognize strings as atoms
|
2011-07-22 14:43:45 -04:00 |
|
Jon Rafkind
|
d4ea3b5d79
|
parse multiple call arguments
|
2011-07-22 14:43:45 -04:00 |
|
Jon Rafkind
|
1b914ead61
|
add optional val before functions and arguments
|
2011-07-20 19:22:30 -06:00 |
|
Jon Rafkind
|
292512221e
|
function == lambda. add new syntax for defining functions
|
2011-07-20 19:22:30 -06:00 |
|
Jon Rafkind
|
a7768a13a3
|
use #%module-begin for honu modules so top level expressions get printed
macros return whether they terminate parsing
|
2011-07-19 11:00:32 -06:00 |
|
Jon Rafkind
|
3a1dde7f14
|
parse arguments. provide basic math operations
|
2011-07-18 11:28:34 -06:00 |
|
Jon Rafkind
|
3736571ad0
|
fix sequences
|
2011-07-14 16:54:26 -06:00 |
|
Jon Rafkind
|
a29d64b44a
|
enable #lang honu
|
2011-07-14 16:54:26 -06:00 |
|
Jon Rafkind
|
57a759c383
|
fix parsing for operators
|
2011-07-14 16:54:26 -06:00 |
|
Jon Rafkind
|
3e96a1e66e
|
parse operators
|
2011-07-13 16:09:22 -06:00 |
|
Jon Rafkind
|
acb3bce1e7
|
add function as a macro
|
2011-07-13 16:09:21 -06:00 |
|
Jon Rafkind
|
2737351c4a
|
start new honu implementation
|
2011-07-12 10:37:23 -06:00 |
|