Go to file
Christian Rinderknecht f795f1216a Bug fixing in the lexers and the parser. Started AST pretty-printer.
LexToken, AST: Tiny refactoring.

Bug: Added the making of the AST node PBytes.

Parser: The rule "pattern" was not properly stratified (the
constructor "PCons" was always produced, even when no consing was
done (now a fall-through to "core_pattern").

Bug: When sharing the lexers between Ligodity and Pascaligo, a
regression was introduced with the lexing of symbols. Indeed,
symbols specific to Ligodity (like "<>") and
Pascaligo (like "=/=") were scanned, but the
function "LexToken.mk_sym" for each only accepted their own,
yielding to an assertion to be invalidated. Fix: I created an
error "sym_err" now to gracefully handle that situation and
provide a hint to the programmer (to wit, to check the LIGO
syntax in use).

WIP: Started to write pretty-printing functions for the nodes of
the AST.

CLI: The option "--verbose=ast" now calls that function instead
of printing the tokens from the AST. When the pretty-printer is
finished, the option for printing the tokens will likely
be "--verbose=ast-tokens".
2019-10-12 23:42:26 +02:00
docker Try to fix CI again 2019-09-08 12:37:11 -07:00
gitlab-pages Website links 2019-10-01 10:15:51 +00:00
packages Separate parts of Pascaligo into a shared parser library 2019-08-29 14:54:06 +00:00
scripts Adding --rm to ligo.sh 2019-10-07 18:02:00 -05:00
src Bug fixing in the lexers and the parser. Started AST pretty-printer. 2019-10-12 23:42:26 +02:00
vendors Printing of tokens from the AST is now done in a Buffer.t 2019-10-09 16:07:13 +02:00
.gitignore header and footer changes except hamburger menu 2019-09-28 16:01:44 +02:00
.gitlab-ci.yml Attempt to fix docker_build CI config 2019-09-25 13:19:44 +02:00
CONTRIBUTORS.md add MIT license 2019-05-25 15:52:12 +00:00
index.tar.gz Separate parts of Pascaligo into a shared parser library 2019-08-29 14:54:06 +00:00
LICENSE.md add MIT license 2019-05-25 15:52:12 +00:00
Makefile Always run setup_repos.sh, never setup_dev_switch.sh, upon make build-deps 2019-09-27 08:43:57 -05:00
repo Separate parts of Pascaligo into a shared parser library 2019-08-29 14:54:06 +00:00
urls.txt Separate parts of Pascaligo into a shared parser library 2019-08-29 14:54:06 +00:00