From c4abfca98efe6df08267a46104b834aec4a8c2ad Mon Sep 17 00:00:00 2001 From: Nathan Braswell Date: Tue, 19 Jan 2016 03:23:38 -0500 Subject: [PATCH] Updating readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b66144e..0fe345e 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,13 @@ The Kraken Programming Language (more info and examples at http://limvot.github.io/kraken/) The Kraken Programming Language is functional but very much still in development. +It has both the normal features you might expect of a modern language, (functions, variables, an object system, dynamic memory), as well as some more advanced ones (mutually recursive definitions, lambdas/closures, algebraic data types, templates, marker traits, defer statements, etc). + Currently, it consists of a RNGLALR parser written in C++, an AST intermediate representation, and a C code generator. When compiled, the kraken compiler will take in a text file to be parsed and optionally the grammer file to use and an output file name. -Kraken will then generate the RNLALR parsing tables from the grammer or load them from a binary file if Kraken has been run with this exact version of the grammer before. Then it will parse the input and export one .c and .h file along with a .sh script containing the compiler command to compile the C files together into a binary. +Kraken will then generate the RNLALR parsing tables from the grammer or load them from a binary file if Kraken has been run with this exact version of the grammer before. Then it will parse the input and export one .c file along with a .sh script containing the compiler command to compile the C files together into a binary. + +The current work is going into self-hosting the compiler, which is progressing quickly. Currently, the self-hosted version can compile simple programs consisting of functions, variables, normal operators, if statements, while loops, and very simple C-passthroughs. It is invoked in this way: