Commit Graph

39 Commits

Author SHA1 Message Date
Paul Tagliamonte
0638cfa187 ideas, ideas. 2013-03-05 18:39:34 -05:00
Paul Tagliamonte
fecf17960d unstaged changes 2013-03-05 09:08:13 -05:00
Paul R. Tagliamonte
4d32dac9ad Moving the compiler stuff around. 2013-03-04 20:40:23 -05:00
Paul Tagliamonte
20805fc7b2 tweaking the ast. 2013-03-04 19:12:57 -05:00
Paul R. Tagliamonte
9e16fb4ca0 Very broken. 2013-03-03 19:40:46 -05:00
Paul R. Tagliamonte
ef9007c229 Futzing about. 2013-03-03 16:26:17 -05:00
Paul R. Tagliamonte
b37d92fe28 better line bits. 2013-03-03 14:03:59 -05:00
Paul R. Tagliamonte
9b58f893cb adding more testing 2013-03-03 13:12:23 -05:00
Paul R. Tagliamonte
a9b5d851b2 Fiddling with more AST testing 2013-03-03 13:10:50 -05:00
Paul R. Tagliamonte
6661d85323 Add some failing tests in. 2013-03-03 11:18:13 -05:00
Paul R. Tagliamonte
f776f5411a docstring update 2013-03-03 00:00:55 -05:00
Paul R. Tagliamonte
b42fdc0bb7 Adding more testing. 2013-03-02 23:47:16 -05:00
Paul R. Tagliamonte
f7ff953f7e Updating states / tests for more stuff. 2013-03-02 21:08:23 -05:00
Paul R. Tagliamonte
1c238d1f4c Adding better testing. 2013-03-02 20:41:57 -05:00
Paul R. Tagliamonte
159151f847 thingthings. like licensing. 2013-03-02 20:24:32 -05:00
Paul R. Tagliamonte
627ae0ffa5 Naming the tests, etc. 2013-03-02 19:48:29 -05:00
Paul R. Tagliamonte
3a630303dc cleanup 2013-03-02 19:45:54 -05:00
Paul R. Tagliamonte
797656b1fd Add some line bits. 2013-03-02 19:41:55 -05:00
Paul R. Tagliamonte
f14ccb6d22 Adding in the Integer bits. 2013-03-02 19:28:10 -05:00
Paul R. Tagliamonte
ea326ee29b Fiddling with the lexing. 2013-03-02 18:40:00 -05:00
Paul R. Tagliamonte
a405b8ef52 Thinking. 2013-03-02 18:03:59 -05:00
Paul R. Tagliamonte
5c6d98a24a Rebuilding. 2013-02-28 22:37:23 -05:00
Paul R. Tagliamonte
84453e75d2 Thinking about a refacotr. 2013-02-28 22:27:20 -05:00
Paul Tagliamonte
f5836da2a5 Kill everything 2013-02-27 19:00:52 -05:00
Matt Fenwick
a264b81e57 test case for lexing a lone string 2013-01-25 14:53:23 +01:00
Gergely Nagy
a7cd70c84a compiler: Make maps and lists able to look up their params
As a neat syntactic sugar, it's very neat if maps and lists are able
to work as if they were functions, and look up their arguments.

This implements just that, by translating (map key) to (index map key)
internally, and (list idx) to (index list idx).

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-01-12 00:50:08 +01:00
Paul Tagliamonte
f956b75e4e tests, again 2012-12-23 14:02:47 -05:00
Paul Tagliamonte
472da09f51 fixing the tests 2012-12-22 23:09:08 -05:00
Paul Tagliamonte
4f5bc16508 hacking on stuff. 2012-12-18 09:11:42 -05:00
Paul Tagliamonte
0081d4fdfc Updating for numbers 2012-12-16 21:44:14 -05:00
Paul Tagliamonte
0ec30fd75b Hash-maps from the ballroom 2012-12-16 21:09:11 -05:00
Paul Tagliamonte
03f25f0cbe updating tests 2012-12-15 18:38:34 -05:00
Paul Tagliamonte
a8c17db048 more list tests 2012-12-15 18:24:40 -05:00
Paul Tagliamonte
11fe591d38 testing thinger 2012-12-15 18:24:06 -05:00
Paul Tagliamonte
5975f2c8d6 Adding lists to the lexable things 2012-12-15 18:20:15 -05:00
Paul Tagliamonte
ec06d6af88 cleanup 2012-12-15 17:47:05 -05:00
Paul Tagliamonte
8f20829b08 adding in test for more stuff. 2012-12-15 17:39:10 -05:00
Paul Tagliamonte
457d84e3f7 Adding in better tests & a fix. 2012-12-15 17:31:23 -05:00
Paul Tagliamonte
d9b6fe7d79 Adding in some lexer testing. 2012-12-15 17:22:14 -05:00