LixParser
TODO: Add description
Table Of Content
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/lix_parser.
It is also included in the next chapter
Documentation
LixParser
Abstract
Lix is a simple Lisp dialect which is parsed by LixParser.parse into an AST.
This AST can then be interpreted as seen fit. An example of a useful interpretation can
be found in LixEval which defines a minimum of
special forms (def, fn, defn, let and use)
The syntax of Lix is defined by the following doctests
Syntax
Literals
iex(1)> parse("42")
{:ok, {:literal, 42}}
As long as we get an :ok result we can use parse! too
iex(2)> parse!("43")
{:literal, 43}LICENSE
Apache-2.0 see for details