Commit graph

70 commits

Author SHA1 Message Date
James Harton
10fcc65045 Start over by trying to build an IR instead of the final output. 2019-03-06 13:38:18 +13:00
James Harton
2f55480228 Update MIT license file 2019-03-04 15:07:30 +13:00
James Harton
59b28f7ce9 Rename typename to just ty. 2019-03-03 13:38:44 +13:00
James Harton
b7d15a2c3c Remove compiler. Again. 2019-03-03 13:28:28 +13:00
James Harton
33e364bf38 Remove the concept of a typespec because it's just an expression. 2019-03-03 13:28:09 +13:00
James Harton
448c68e028 :( 2019-02-26 13:10:18 +13:00
James Harton
5909368138 WIP 2019-02-25 20:52:18 +13:00
James Harton
f2b84a6e54 WIP 2019-02-25 13:36:51 +13:00
James Harton
2b2d40bb55 Add functions/clauses/arguments. 2019-02-23 15:19:00 +13:00
James Harton
4aa61a7a21 Extract types into separate files. 2019-02-23 10:14:46 +13:00
James Harton
80b549b586 Run clippy. 2019-02-23 08:52:59 +13:00
James Harton
243eb426c8 Add constant values. 2019-02-22 23:08:15 +13:00
James Harton
e85fb16707 Beginnings of a much simpler type system. 2019-02-22 22:08:48 +13:00
James Harton
115c1d51e9 WIP 2019-02-22 19:48:05 +13:00
James Harton
b07a3ce8ef Another attempt. 2019-02-14 21:07:17 +13:00
James Harton
7277510a72 Scope stuff. 2019-02-14 19:08:40 +13:00
James Harton
447c54ce35 Ideas for scopes. 2019-02-14 17:50:55 +13:00
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