Commit Graph

15 Commits

Author SHA1 Message Date
Sameer Rahmani b1b7163c81 Remove inkwell since we don't need it for the interpreter anymore 2020-10-30 20:49:35 +00:00
Sameer Rahmani ce78534cd3 Add a function to compiler to compiler modules to string 2020-09-20 23:01:50 +01:00
Sameer Rahmani 40bcb3b16c Create 'def' special form to define global value ( not functions at the moment ) 2020-09-20 22:22:18 +01:00
Sameer Rahmani ee47410d49 Improve scope to support builtins 2020-09-13 19:29:17 +01:00
Sameer Rahmani b6a960862c Extract 'compile' function from compiler struct 2020-09-12 14:12:04 +01:00
Sameer Rahmani a6eb232b48 Change codegen function to accept compiler's reference 2020-09-12 12:34:08 +01:00
Sameer Rahmani 6a7523e0ba Change the codegen signature to accept compiler instead of ns 2020-09-11 20:55:26 +01:00
Sameer Rahmani 5c6635fd0c Clean up the scope struct to lookup in the parent as well 2020-09-10 23:28:20 +01:00
Sameer Rahmani 05a2886402 Make Serene GPLv2 compatible 2020-09-09 21:40:31 +01:00
Sameer Rahmani 03c15c5f25 Fix the compiler ns to have a very basic Compiler struct 2020-09-09 21:21:04 +01:00
Sameer Rahmani 72fb1f1a2c Commit the final changes before moving to C++ :( 2020-07-09 13:52:46 +01:00
Sameer Rahmani 402e267e7c Add basic namespace and scope support 2020-07-06 14:18:29 +01:00
Sameer Rahmani 2756349204 Add a very basic Namespace datastructure 2020-06-27 22:12:09 +01:00
Sameer Rahmani 08a651019f Add Symbol struct to represent symbols 2020-06-20 22:14:48 +01:00
Sameer Rahmani 3454a44f65 Add inkwell to replace llvm-sys and add the types module 2020-06-20 22:02:17 +01:00