• 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/scritcher 2019-10-06 00:43:25 +00:00
f8814ca94d add assertions about seek state and seek position
luna pushed to master at luna/rayoko 2019-10-05 13:41:20 +00:00
192baf0725 analysis: remove 'else', replace by dedicated Block
luna pushed to master at luna/rayoko 2019-10-05 13:38:17 +00:00
5348e2b5c4 remove Stmt as an AST node
9d1c9cab7f analysis: fix ret type
d69a64dbfb analysis: add bump-dump scope to loop analysis
881833b187 s/TypeSolver/Analyzer
5c58ac0238 analysis: add contextual checks for Assign expr
Compare 6 commits »
luna pushed to master at luna/scritcher 2019-09-30 02:57:42 +00:00
0e323f6631 repl tweaks
luna pushed to master at luna/rayoko 2019-09-29 16:17:11 +00:00
34481c8ea8 main: call gcc to make out executable
88e505b524 parser: rename main function to __rayoko_main
f00741deca add main() to example
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-29 14:41:53 +00:00
f84eb16490 codegen: emit Store for Assign exprs
luna pushed to master at luna/rayoko 2019-09-29 03:06:29 +00:00
5d8efd657f analysis: add analysis of Assign expressions
2fea745df4 codegen: use current_scope's meta_map instead of resolveVarType
f2520e7d02 change bits and pieces everywhere about var meta
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-29 00:31:51 +00:00
a95d0e7fd8 comp_ctx: make resolveVarType's return type be nullable
182d831408 comp_ctx: use more pointers to variable metadata
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-28 23:40:53 +00:00
ea4dd5fde4 move to llvm 9
luna pushed to master at luna/rayoko 2019-09-28 21:10:34 +00:00
9869cca2ae remove mutability/publicability
c7920246a5 codegen: add emitting of unary exprs
3d47c0cca8 parser: fix unary operators causing stack overflow
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-28 16:40:38 +00:00
65a9e58a9a emit a store for the stack fn arguments
21dcb3e65d codegen: emit load instruction for (now-stack) params
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-28 16:18:38 +00:00
a136a377ce change symbol table to use pointers to heap allocated symbols
93811c986d codegen: use Parameter.llvm_alloca
61c8493484 add basics of stack-stored arguments
58713b20e3 add llvmvalueref to Parameter
Compare 6 commits »
luna pushed to master at luna/rayoko 2019-09-28 01:49:55 +00:00
81fd718403 codegen: emit vardecl initializer
d235ce0d13 add codegen for allocating vardecls onto stack (not init yet)
77c88fad34 update readme with usage instructions
dfb7989123 add necessary hello.c code as we dont have linking step
849bbc0e94 add support for resolving parameters in function body
Compare 5 commits »
luna pushed to master at luna/rayoko 2019-09-27 20:18:58 +00:00
3f48be3420 codegen: prepare for variable emitting
luna pushed to master at luna/rayoko 2019-09-27 20:10:20 +00:00
7def9abc5a add "variable metadata"
362fc7e3ef analysis: add name type resolution
4346636cfa analysis: add check for call expr's arguments
Compare 3 commits »
luna pushed to master at luna/rayoko 2019-09-27 17:08:01 +00:00
3f94082477 analyze: make VarDecl statements insert symbols to current scope
luna pushed to master at luna/rayoko 2019-09-27 16:50:09 +00:00
466243fc2b add checking of numeric types around boolean operators
luna pushed to master at luna/rayoko 2019-09-27 16:40:30 +00:00
68b9855309 remove _start from examples/hello.ry
86c7f7dd6a comp_ctx: remove Environment in favor of UnderlyingTypeMap
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-27 15:20:50 +00:00
a081de93ce comp_ctx: remove isSymUnTypeEnumSubset
7e41d03eb9 add proper Integer32 and Integer64 literals
76d888bde8 analysis: create err ctx buffer on init()
c3d3486163 rename types.zig to analysis.zig
Compare 4 commits »
luna opened issue luna/rayoko#1 2019-09-27 15:07:12 +00:00
add implicit type casting