This is a clone of golang-impl branch of main Serene repo. The go lang implementation has been abandoned in favor of cpp and MLIR implementation.
Go to file
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
bootstrap [Bootstrap] Use Serene itself to load and run the main function 2021-01-02 21:04:35 +00:00
docs/examples Create 'def' special form to define global value ( not functions at the moment ) 2020-09-20 22:22:18 +01:00
.gitignore Add the Def, and Fn special forms 2020-11-19 19:14:06 +00:00
LICENSE Make Serene GPLv2 compatible 2020-09-09 21:40:31 +01:00
Makefile Create a basic parser in Golang 2020-11-14 10:51:25 +00:00
README.org Update the TOC of README.org 2020-12-16 19:08:49 +00:00
dev.org Record the caller details in the stack frame 2020-12-30 17:50:00 +00:00

README.org

Serene language

Where to get help