Commit Graph

20 Commits

Author SHA1 Message Date
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 bb83142ffd Commit the old list implementation 2020-09-18 21:52:45 +01:00
Sameer Rahmani fa9c51e71c Change the list implementation to remove the generic type from it 2020-09-14 21:46:52 +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 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 3454a44f65 Add inkwell to replace llvm-sys and add the types module 2020-06-20 22:02:17 +01:00
Sameer Rahmani 0b348cff82 Add clap to manage the cli arguments 2020-06-20 18:20:10 +01:00
Sameer Rahmani 0065c2edf1 Add Expression trait and new cons implementation 2020-06-20 15:20:05 +01:00
Sameer Rahmani 30a7dbfce5 Fix the reader to ignore comment lines 2020-06-19 19:37:00 +01:00
Sameer Rahmani 04fe7e6085 Add llvm-sys as a dependency 2020-06-16 09:27:32 +01:00
Sameer Rahmani 5181c84696 Add support for negative numbers 2020-06-14 21:23:39 +01:00
Sameer Rahmani 47bf80e834 Add a very basic lisp1 parser 2020-06-14 21:02:31 +01:00
Sameer Rahmani e527beea5a Add a very simple lisp grammer based on LALRPOP (whitespace problem) 2020-06-13 17:55:27 +01:00
Sameer Rahmani c7c4876838 Initial Commit 2020-06-05 22:23:14 +01:00