• 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-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
518d2daeb4 Merge branch 'master' of https://gitdab.com/luna/rayoko
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
luna pushed to master at luna/rayoko 2019-09-27 01:27:21 +00:00
2cb328c3f9 analysis: ensure Get.name exists in enum
luna pushed to master at luna/rayoko 2019-09-27 01:22:50 +00:00
6543884366 analysis: add check of composite types (structs and enums)
luna pushed to master at luna/rayoko 2019-09-27 01:03:14 +00:00
dfb954c39c analysis: insert "incomplete" function as soon as possible
093a8003b6 ast_printer: fix children printing
Compare 2 commits »
luna pushed to master at luna/rayoko 2019-09-26 21:04:46 +00:00
fc9f5d9ce0 add get expr analysis
64e39a6f1e ast_printer: print scopes inside functions
97c2437d97 add basic business logic for scopes
e91c2dfdaf fix errs
ae27995eb6 add rudimentary type analysis for return, if, loop
Compare 5 commits »
luna pushed to master at luna/rayoko 2019-09-26 03:13:13 +00:00
8065d0d905 s/nodePass/stmtPass
bf035abadf add lots of TODOs for variables and type analysis of statements
45275d73db change variable declarations to statements
Compare 3 commits »