Commit Graph

72 Commits

Author SHA1 Message Date
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