Commit graph

72 commits

Author SHA1 Message Date
a1bf15fe4d add support for target machine 2019-09-21 23:56:22 -03:00
86e899e771 cgen: output .bc file 2019-09-21 12:37:41 -03:00
243e3cc694 fix llvm linking 2019-09-21 12:31:47 -03:00
6c3d20bbbb add the basics of llvm codegen 2019-09-20 23:40:21 -03:00
250631ff41 move Parser.mkFnDecl => ast.Node.mkFnDecl 2019-09-20 13:54:52 -03:00
d69365ba92 ast_printer: fix printing of func params 2019-09-20 13:36:15 -03:00
79107f876b add semicolons after statements 2019-09-20 13:34:13 -03:00
126bd476d6 fix function parameter parsing
- fix struct's err ctx
 - rm err when parsing get exprs and others
2019-09-20 13:32:35 -03:00
075d2f22a5 add error contexts to other top levels 2019-09-20 13:24:52 -03:00
3ad0859bc9 add 'error contexts' to parser error reports 2019-09-20 13:16:55 -03:00
7ddd37b725 add synchronization to the parser 2019-09-20 12:22:46 -03:00
084c5cc6ee main: reset the scanner 2019-09-18 16:54:57 -03:00
180444a5d6 fix for latest zig 2019-09-18 16:53:44 -03:00
927c0f6a1c add vig's parser 2019-09-18 15:59:11 -03:00
b14a32a104 scanner: remove LeftDoubleChevron and single-quote strings 2019-09-18 15:07:08 -03:00
93e7d9db7b copy-paste vig's scanner into rayoko 2019-09-18 14:30:23 -03:00
05509d1181 fix switch on value 2019-09-18 13:44:40 -03:00
3b8943731e main: add Result enum 2019-09-18 12:11:08 -03:00
53d41b31e7 add examples/hello.ry 2019-09-18 11:37:08 -03:00
c46229154c zig init-exe 2019-09-18 11:20:09 -03:00
106ee3afe5 add LICENSE 2019-09-18 11:19:23 -03:00
91cad88a21 add readme 2019-09-18 11:03:24 -03:00