Commit Graph

  • 5771877457 fix llvm_table shenanigans master Luna 2020-07-23 18:07:21 -0300
  • 2357de5a04 llvm10 time Luna 2020-07-23 18:07:13 -0300
  • 5713df2a8b more fixes Luna 2020-07-23 17:17:06 -0300
  • b0ddffd5fe hashmap changes, part 2 Luna 2020-07-23 17:06:38 -0300
  • 0265eddb2e hashmap changes Luna 2020-07-23 16:56:37 -0300
  • 56be677c7a at() -> items[] Luna 2020-07-23 16:46:46 -0300
  • e0f0ae7f24 toSlice -> items Luna 2020-07-23 16:42:59 -0300
  • 03561ebe6a zig fmt pass Luna 2020-07-23 16:42:49 -0300
  • 3a55f8dbcc Update README install/use instructions Luna 2020-04-02 15:17:14 -0300
  • 74e6beda67 more fixes for latest zig x86-codegen tuple-inator Luna 2020-04-01 21:58:30 -0300
  • 049a388660 more fixes for latest zig Luna 2020-04-01 21:48:08 -0300
  • a623d9b2ca minor fixes on main file Luna 2020-04-01 16:10:47 -0300
  • 5ae47fb962 zig fmt pass Luna 2020-04-01 16:09:52 -0300
  • 7976b64cf6 tuple-inator pass Luna 2020-04-01 16:09:39 -0300
  • cf22d47e13 ast_printer: tuple-ify Luna 2020-04-01 16:03:46 -0300
  • ebf4af6537 fixes for latest zig Luna 2019-12-07 20:28:55 -0300
  • 9a9008247f move x86 to codegen.x86 Luna 2019-11-25 21:44:04 -0300
  • e42a97e192 use 'as' builtin Luna 2019-11-25 21:42:24 -0300
  • 3ddc6c61c8 add basic x86 struct Luna 2019-11-13 20:27:39 -0300
  • c743c804be analysis: check current_scope being null for VarDecl Luna 2019-10-12 13:56:39 -0300
  • 192baf0725 analysis: remove 'else', replace by dedicated Block Luna 2019-10-05 10:40:36 -0300
  • 5348e2b5c4 remove Stmt as an AST node Luna 2019-10-05 10:37:28 -0300
  • 9d1c9cab7f analysis: fix ret type Luna 2019-10-05 10:33:37 -0300
  • d69a64dbfb analysis: add bump-dump scope to loop analysis Luna 2019-10-05 10:30:01 -0300
  • 881833b187 s/TypeSolver/Analyzer Luna 2019-10-05 10:27:38 -0300
  • 5c58ac0238 analysis: add contextual checks for Assign expr Luna 2019-10-05 10:26:47 -0300
  • 809dad1095 codegen: add Grouping expr support Luna 2019-10-05 10:08:27 -0300
  • 34481c8ea8 main: call gcc to make out executable Luna 2019-09-29 13:16:49 -0300
  • 88e505b524 parser: rename main function to __rayoko_main Luna 2019-09-29 12:46:31 -0300
  • f00741deca add main() to example Luna 2019-09-29 12:03:17 -0300
  • f84eb16490 codegen: emit Store for Assign exprs Luna 2019-09-29 11:41:16 -0300
  • 5d8efd657f analysis: add analysis of Assign expressions Luna 2019-09-28 22:48:59 -0300
  • 2fea745df4 codegen: use current_scope's meta_map instead of resolveVarType Luna 2019-09-28 22:18:22 -0300
  • f2520e7d02 change bits and pieces everywhere about var meta Luna 2019-09-28 22:16:33 -0300
  • a95d0e7fd8 comp_ctx: make resolveVarType's return type be nullable Luna 2019-09-28 21:30:52 -0300
  • 182d831408 comp_ctx: use more pointers to variable metadata Luna 2019-09-28 20:52:45 -0300
  • ea4dd5fde4 move to llvm 9 Luna 2019-09-28 20:40:07 -0300
  • 9869cca2ae remove mutability/publicability Luna 2019-09-28 18:09:58 -0300
  • c7920246a5 codegen: add emitting of unary exprs Luna 2019-09-28 17:58:17 -0300
  • 3d47c0cca8 parser: fix unary operators causing stack overflow Luna 2019-09-28 17:52:30 -0300
  • 65a9e58a9a emit a store for the stack fn arguments Luna 2019-09-28 13:40:11 -0300
  • 21dcb3e65d codegen: emit load instruction for (now-stack) params Luna 2019-09-28 13:30:05 -0300
  • 518d2daeb4 Merge branch 'master' of https://gitdab.com/luna/rayoko Luna 2019-09-28 13:18:28 -0300
  • a136a377ce change symbol table to use pointers to heap allocated symbols Luna 2019-09-28 13:17:11 -0300
  • 93811c986d codegen: use Parameter.llvm_alloca Luna 2019-09-28 12:46:23 -0300
  • 61c8493484 add basics of stack-stored arguments Luna 2019-09-28 11:40:56 -0300
  • 58713b20e3 add llvmvalueref to Parameter Luna 2019-09-28 11:32:36 -0300
  • 178acc656f codegen: allow for mutable statements Luna 2019-09-27 22:49:33 -0300
  • 81fd718403 codegen: emit vardecl initializer Luna 2019-09-27 22:49:33 -0300
  • d235ce0d13 add codegen for allocating vardecls onto stack (not init yet) Luna 2019-09-27 22:36:35 -0300
  • 77c88fad34 update readme with usage instructions Luna 2019-09-27 21:23:11 -0300
  • dfb7989123 add necessary hello.c code as we dont have linking step Luna 2019-09-27 21:22:03 -0300
  • 849bbc0e94 add support for resolving parameters in function body Luna 2019-09-27 20:39:16 -0300
  • 3f48be3420 codegen: prepare for variable emitting Luna 2019-09-27 17:18:38 -0300
  • 7def9abc5a add "variable metadata" Luna 2019-09-27 17:08:01 -0300
  • 362fc7e3ef analysis: add name type resolution Luna 2019-09-27 15:12:30 -0300
  • 4346636cfa analysis: add check for call expr's arguments Luna 2019-09-27 14:31:59 -0300
  • 3f94082477 analyze: make VarDecl statements insert symbols to current scope Luna 2019-09-27 14:07:42 -0300
  • 466243fc2b add checking of numeric types around boolean operators Luna 2019-09-27 13:49:53 -0300
  • 68b9855309 remove _start from examples/hello.ry Luna 2019-09-27 13:40:05 -0300
  • 86c7f7dd6a comp_ctx: remove Environment in favor of UnderlyingTypeMap Luna 2019-09-27 13:39:04 -0300
  • a081de93ce comp_ctx: remove isSymUnTypeEnumSubset Luna 2019-09-27 12:08:25 -0300
  • 7e41d03eb9 add proper Integer32 and Integer64 literals Luna 2019-09-27 12:07:20 -0300
  • 76d888bde8 analysis: create err ctx buffer on init() Luna 2019-09-27 10:47:34 -0300
  • c3d3486163 rename types.zig to analysis.zig Luna 2019-09-27 00:00:06 -0300
  • 2cb328c3f9 analysis: ensure Get.name exists in enum Luna 2019-09-26 22:27:05 -0300
  • 6543884366 analysis: add check of composite types (structs and enums) Luna 2019-09-26 22:22:11 -0300
  • dfb954c39c analysis: insert "incomplete" function as soon as possible Luna 2019-09-26 22:00:32 -0300
  • 093a8003b6 ast_printer: fix children printing Luna 2019-09-26 21:36:26 -0300
  • fc9f5d9ce0 add get expr analysis Luna 2019-09-26 18:03:39 -0300
  • 64e39a6f1e ast_printer: print scopes inside functions Luna 2019-09-26 16:58:57 -0300
  • 97c2437d97 add basic business logic for scopes Luna 2019-09-26 16:04:11 -0300
  • e91c2dfdaf fix errs Luna 2019-09-26 14:32:23 -0300
  • ae27995eb6 add rudimentary type analysis for return, if, loop Luna 2019-09-26 14:23:15 -0300
  • 8065d0d905 s/nodePass/stmtPass Luna 2019-09-26 00:12:47 -0300
  • bf035abadf add lots of TODOs for variables and type analysis of statements Luna 2019-09-26 00:11:48 -0300
  • 45275d73db change variable declarations to statements Luna 2019-09-25 22:22:13 -0300
  • e69451cdd9 example: function calls can't happen on consts yet Luna 2019-09-25 18:10:17 -0300
  • 0b72462954 codegen: add emitting of call exprs Luna 2019-09-25 18:05:56 -0300
  • 5036be02e3 add rudimentary return type analysis for call exprs Luna 2019-09-25 17:17:47 -0300
  • 04c624e210 codegen: add emitting of const declarations Luna 2019-09-25 17:05:37 -0300
  • cb8908dc80 add type analysis for consts Luna 2019-09-25 14:34:32 -0300
  • 1040eef79f codegen: add emitting for enum get expressions Luna 2019-09-25 12:28:22 -0300
  • 5188dac3c0 add type analysis of enums Luna 2019-09-25 11:59:36 -0300
  • 0b0a8896bb add basic resolution of enums to llvm types Luna 2019-09-25 11:29:47 -0300
  • 6b3d54aed7 embed FnDecl inside FunctionSymbol for correct param order Luna 2019-09-25 10:53:10 -0300
  • e2cca03d52 add type resolving for structs and fn params Luna 2019-09-25 00:26:30 -0300
  • 8afab8e4ed comp_ctx: add FunctionSymbol.findSymbol Luna 2019-09-24 23:09:00 -0300
  • bfe9f4fe0d s/testfile/output.ll Luna 2019-09-24 18:59:00 -0300
  • 9e80ad4c23 fix if statement emitting Luna 2019-09-24 18:49:35 -0300
  • c1d6939c43 add the rest of (currently nonfunctional) emitting of if stmts Luna 2019-09-24 17:47:17 -0300
  • 1bb1fb813d add basics of if statement emitting Luna 2019-09-24 14:12:37 -0300
  • 1ac63cdbef resolve llvm types for function parameters Luna 2019-09-24 13:32:00 -0300
  • e25621350a fix boolean operators Luna 2019-09-24 13:23:23 -0300
  • f08d613198 switch BinaryExpr.op to BinaryOperator instead of token Luna 2019-09-23 23:18:31 -0300
  • 013aafa8a4 add emitting of integer and float literals Luna 2019-09-23 22:07:19 -0300
  • 4c1bdb5f91 codegen: add incomplete generation of expressions Luna 2019-09-23 18:33:30 -0300
  • 05c480c364 initialize all llvm features befbore emitting Luna 2019-09-22 18:40:15 -0300
  • 469625d32a add CompileError error type Luna 2019-09-22 18:26:00 -0300
  • 4a2cc4b524 gitignore: add object files Luna 2019-09-21 23:56:35 -0300