Commit graph

103 commits

Author SHA1 Message Date
James Harton
d7a0b03d64 Add location to term. 2019-02-12 12:20:58 +13:00
James Harton
f72a532970 MOAR AST. 2019-02-12 11:37:44 +13:00
James Harton
84d2f34c1c Start working on building the AST from the pest output. 2019-02-08 21:58:29 +13:00
James Harton
c04c1618b6 Go back to using PEST because it's just easier. 2019-02-08 21:12:56 +13:00
James Harton
4fd67d9a16 Try with logos and prattle. 2019-02-08 18:49:15 +13:00
James Harton
d786485269 Add some tests. 2019-02-05 09:02:35 +13:00
James Harton
b51fb43f9c Start a much simpler parser using prettle and logos. 2019-02-04 21:15:15 +13:00
James Harton
c4d011f21e Remove old crates. 2019-02-04 21:15:02 +13:00
James Harton
8b464e68bd I don't remember what I was doing. 2019-02-04 14:18:44 +13:00
James Harton
6785e01df7 Add basic documentation to the linter. 2018-09-19 15:27:24 +12:00
James Harton
c6912ebeb5 Add some docs to the parser. 2018-09-19 15:12:39 +12:00
James Harton
7b510601aa Remove unnecessary method. 2018-09-18 12:55:47 +12:00
James Harton
fe0fd20c32 The compiler now parses and lints the input. 2018-09-17 21:56:13 +12:00
James Harton
3476303cd1 Add filtered violations to Lint. 2018-09-15 23:25:01 +12:00
James Harton
1eb9870c98 Implement basic linting for AST nodes. 2018-09-15 23:15:19 +12:00
James Harton
e5a2bc1291 Merge branch 'master' into lets-invent-a-linter 2018-09-15 17:24:09 +12:00
James Harton
35be079513 Add the Parse trait and make AST nodes know how to parse themselves. 2018-09-15 17:23:34 +12:00
James Harton
1641b4f86a First pass at a linter. 2018-09-15 17:21:22 +12:00
James Harton
2ff1c48753 Let's invent a linter. 2018-09-13 18:08:06 +12:00
James Harton
4b77a2438e Successfully parses all of the demo code. 2018-09-13 12:41:22 +12:00
James Harton
c26491eaeb Add Map literal syntax and AST. 2018-09-13 12:01:28 +12:00
James Harton
335b36980f THIS TOO SHALL PASS 2018-09-11 18:40:17 +12:00
James Harton
ded34ed6b6 Improve AST tests. 2018-09-10 20:59:45 +12:00
James Harton
0429141baf Finally got all the stuff to parse 2018-09-10 19:39:19 +12:00
James Harton
bea8e5a92b Add some tests to define function and define module. 2018-09-09 15:29:12 +12:00
James Harton
c32adf0838 Split module and function defines. 2018-09-09 14:15:57 +12:00
James Harton
c166f66ac6 Almost completely rewritten AST 2018-09-08 21:08:53 +12:00
James Harton
4b1d62b06a Add block AST 2018-09-06 19:41:43 +12:00
James Harton
76ce91b6ee Definitions work in the AST. 2018-09-06 19:07:12 +12:00
James Harton
a3ae75d66f Tidy up grammar around method predicates and exploders. 2018-09-06 18:02:55 +12:00
James Harton
4892ba3d4e Add encircled huia image. 2018-09-06 14:31:51 +12:00
James Harton
bb7742a60e Add initial readme. 2018-09-06 14:21:27 +12:00
James Harton
e46efefe4c Set up pages hosting. 2018-09-06 14:08:08 +12:00
James Harton
eef8e6cd5b Add Huia images. 2018-09-06 14:03:13 +12:00
James Harton
faf68afd46 Merge branch 'master' of ssh://gitlab.com/jimsy/huia 2018-09-05 22:07:05 +12:00
James Harton
1b70f7b485 Added and tested AST for defining functions. 2018-09-05 22:06:36 +12:00
James Harton
9cf0481397 Add LICENSE 2018-09-04 10:32:29 +00:00
James Harton
e1a0472ed8 Add huiac binary that just prints out the AST. 2018-09-03 18:53:11 +12:00
James Harton
2072134c80 Infix is working. Yay! 2018-09-03 16:36:12 +12:00
James Harton
de123122ae Infix not working :( 2018-09-03 14:06:27 +12:00
James Harton
f7c605218f Start work on an AST. 2018-09-02 12:15:03 +12:00
James Harton
ec5cdc8afc Working verison 0 parser. 2018-09-01 11:44:59 +12:00
James Harton
b5a3d088d1 multiline blocks can be empty too. 2018-08-31 21:47:02 +12:00
James Harton
4bac3493c0 Revision one grammar almost works. 2018-08-31 19:23:28 +12:00
James Harton
2076d74ece Add trait implementations to the type system. 2018-08-29 20:21:09 +12:00
James Harton
96677aa499 Start writing some ideas for how things might work in Huia.
I know this is dumb, but it's the best way for be to crystalise my thoughts about how this will work.
2018-08-29 12:46:07 +12:00
James Harton
4da9cd37c7 Blocks can be empty. 2018-08-27 12:49:35 +12:00
James Harton
09c541c8dc Fix compiler warning about unused test macros. 2018-08-27 11:23:32 +12:00
James Harton
c0ac53f54b Re-organise into workspace. 2018-08-27 11:09:36 +12:00
James Harton
5b49dfad3c Add CI config. 2018-08-26 21:48:48 +12:00