Skip to content

Releases: takev/yyast

Bug Fix, switched arguments in sub parser methods.

28 Oct 22:08
Compare
Choose a tag to compare

Bug fix, switched factory and symbol_table arguments in sub-parser methods.

Passing symbol table through the Python AST parser

25 Oct 22:52
Compare
Choose a tag to compare

The python extension for parsing yeast files now accepts a symbol table, which is passed into every constructor of your AST objects. This allows your AST objects to record their existence into this table.

Bug fixes for the Python extension.

23 Oct 12:54
Compare
Choose a tag to compare

Bug fixes for the Python extension which will read yyast files.

Python generic parser added

21 Oct 15:40
Compare
Choose a tag to compare

This release includes a python library for reading the yyast files.
You will need to supply factory classes which will be used to build up the AST tree.

Bugfix: YA_NULL didn't function correctly.

17 Oct 19:57
Compare
Choose a tag to compare

YA_NULL returned the ya_t object instead of a pointer to ya_t. I have changed YA_NULL to return a pointer to a singleton ya_t object.

-help should now also show the filename of the created parser binary.

yyast is made compatible with Linux

15 Oct 15:56
Compare
Choose a tag to compare

Originally the yyast library was developed on Mac OS X. Since I am now using it on Linux, I have ported the library.

Change to BSD 2-Clause license

21 Aug 05:21
Compare
Choose a tag to compare

Since I am hoping that YYAST will be used in as many as project as possible I have decided to release the YYAST library under a very permissive and compatible license. I have chosen the BSD 2-Clause License.

Source file tracking

20 Aug 05:23
Compare
Choose a tag to compare

In this version YYAST now tracks line numbers when in original source code. This is useful if someone would generate code for your language, and your compiler or debugger wants to show the original source code.

For this change the on-disk format of the AST had to change significantly. I've tried to make it a lot more consistent and still easy to read. A header is now required to record the source filenames, but the header is build up with the same node structure as the rest of the file.

Original release

20 Aug 05:26
Compare
Choose a tag to compare

This is the first release of YYAST, a AST generator, a companion to Lex and Yacc.