serene-golang-implementation/bootstrap/pkg
Sameer Rahmani 9be27c124a [Bootstrap] Use Serene itself to load and run the main function
This commit consist a series of fixes to make the reach the main
goal of the commit:

* Fix the 'MakeNodeFromExprs' behavior so it returns a pointer
  to a node and if the number of input exprs is zero then nil.

* Fix all the eval loop to return immediately in case of any error
  duh!

* Add a `errtype` field to `Error` with an `ErrType` enum type
  that indicates the type of the error, the type being syntax,
  semantic and runtime error at the moment.

* Rename some of the Error functions to match the error type. For
  Exapmle `MakeSyntaxError` and `MakeSemanticError`
2021-01-02 21:04:35 +00:00
..
ast [Bootstrap] Update the call stack to container the caller and add a line index to the parser 2021-01-01 19:13:49 +00:00
core [Bootstrap] Use Serene itself to load and run the main function 2021-01-02 21:04:35 +00:00
dl [Bootstrap] Add a sample shared library to used with ffi api 2020-12-25 21:57:13 +00:00
errors [Bootstrap]: Create an index of errors and their descriptions 2021-01-01 19:13:10 +00:00
hash [Bootstrap] Add the support for keywords 2020-12-22 23:54:21 +00:00