• I am one of the two people behind lavatech, hello.
  • https://l4.pm
  • skirts

  • Joined on 2018-11-12
luna pushed to master at luna/rayoko 2019-09-25 21:10:45 +00:00
e69451cdd9 example: function calls can't happen on consts yet
0b72462954 codegen: add emitting of call exprs
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-25 20:18:10 +00:00
5036be02e3 add rudimentary return type analysis for call exprs
luna pushed to master at luna/rayoko 2019-09-25 20:07:12 +00:00
04c624e210 codegen: add emitting of const declarations
luna pushed to master at luna/rayoko 2019-09-25 17:37:02 +00:00
cb8908dc80 add type analysis for consts
luna pushed to master at luna/rayoko 2019-09-25 15:28:39 +00:00
1040eef79f codegen: add emitting for enum get expressions
luna pushed to master at luna/rayoko 2019-09-25 15:01:41 +00:00
5188dac3c0 add type analysis of enums
0b0a8896bb add basic resolution of enums to llvm types
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-25 13:53:44 +00:00
6b3d54aed7 embed FnDecl inside FunctionSymbol for correct param order
e2cca03d52 add type resolving for structs and fn params
8afab8e4ed comp_ctx: add FunctionSymbol.findSymbol
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-24 22:02:37 +00:00
bfe9f4fe0d s/testfile/output.ll
luna pushed to master at luna/rayoko 2019-09-24 21:53:19 +00:00
9e80ad4c23 fix if statement emitting
luna pushed to master at luna/rayoko 2019-09-24 20:50:35 +00:00
c1d6939c43 add the rest of (currently nonfunctional) emitting of if stmts
luna pushed to master at luna/rayoko 2019-09-24 17:14:26 +00:00
1bb1fb813d add basics of if statement emitting
luna pushed to master at luna/rayoko 2019-09-24 16:32:41 +00:00
1ac63cdbef resolve llvm types for function parameters
e25621350a fix boolean operators
f08d613198 switch BinaryExpr.op to BinaryOperator instead of token
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-24 01:12:44 +00:00
013aafa8a4 add emitting of integer and float literals
luna pushed to master at luna/rayoko 2019-09-23 21:34:29 +00:00
4c1bdb5f91 codegen: add incomplete generation of expressions
05c480c364 initialize all llvm features befbore emitting
469625d32a add CompileError error type
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-22 02:56:57 +00:00
4a2cc4b524 gitignore: add object files
a1bf15fe4d add support for target machine
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-21 15:38:28 +00:00
86e899e771 cgen: output .bc file
243e3cc694 fix llvm linking
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-21 02:41:05 +00:00
6c3d20bbbb add the basics of llvm codegen
250631ff41 move Parser.mkFnDecl => ast.Node.mkFnDecl
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-20 16:36:27 +00:00
d69365ba92 ast_printer: fix printing of func params
79107f876b add semicolons after statements
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-20 16:33:10 +00:00
126bd476d6 fix function parameter parsing
luna pushed to master at luna/rayoko 2019-09-20 16:25:07 +00:00
075d2f22a5 add error contexts to other top levels