summaryrefslogtreecommitdiff
path: root/src/runtime/c
AgeCommit message (Collapse)Author
2014-09-16dummy jit_base_tail_finishr for x86_64. kr.angelov
2014-09-11a major revision of the bytecode generator and JIT compiler. the effect is ↵kr.angelov
that now we can compute with lambda functions and with true tail recursion
2014-09-05the code for def rules now uses proper graph update to preserve lazynesskr.angelov
2014-09-05full support for recursive def rules in the C runtimekr.angelov
2014-09-01partial implementation for recursive def ruleskr.angelov
2014-09-01bug fixes in the JIT compilerkr.angelov
2014-08-29added evaluator.h which I had forgotenkr.angelov
2014-08-11pattern matching in def rules is now supportedkr.angelov
2014-08-11a partial support for def rules in the C runtimekr.angelov
The def rules are now compiled to byte code by the compiler and then to native code by the JIT compiler in the runtime. Not all constructions are implemented yet. The partial implementation is now in the repository but it is not activated by default since this requires changes in the PGF format. I will enable it only after it is complete.
2014-07-08implemented computing with abstract syntax trees. It passes all test cases ↵kr.angelov
except those that require def rules. The design is consistent with the STG virtual machine
2014-07-08bugfix for the typechecker in the C runtimekr.angelov
2014-07-06embedded mode for GF grammar in Python. Only generation for nowkr.angelov
2014-06-19runtime/c/setup.sh: use make -j to speed up compilationhallgren
The configuration script takes significantly longer to run than the compilation of all the C code, which is a hint that is in need of a major simplification.
2014-06-16src/runtime/c/setup.sh: executable version of INSTALL, used from debian/ruleshallgren
2014-04-25an initial Java/C API for predicting literals. Still not utilizedkr.angelov
2014-04-22bugfix in the handling of BIND in the C runtimekr.angelov
2014-04-17now word completion from Java works. It could be made betterkr.angelov
2014-04-10now fully functional Java API for custom literalskr.angelov
2014-04-10bugfix in the C runtimekr.angelov
2014-04-10a quick hack to enable the NERC from bindings. This should be made available ↵kr.angelov
from the API but for now I just hacked the C runtime
2014-04-08bugfix in the C runtime that shows up with only some grammarskr.angelov
2014-03-25small fixes in the C runtimekr.angelov
2014-03-18whitespace cleanup in the parserkr.angelov
2014-03-12compute the right word probabilitykr.angelov
2014-03-07added pgf_lookup_word_prefix which makes it possible to do simple word ↵kr.angelov
prediction
2014-03-07bugfix in pgf-translatekr.angelov
2014-03-06C run-time: protect from Windows specific #includes with #ifdef __MINGW32__hallgren
2014-03-05implementation for pre in the C runtimekr.angelov
2014-03-04use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.ckr.angelov
2014-03-04memory leak in parseval.ckr.angelov
2014-03-04rename pgf_lzr_linearize_table to pgf_lzr_get_tablekr.angelov
2014-02-27instructions for compiling the C runtime on Windowskr.angelov
2014-02-27changes in Makefile.am to make it easier to compile the C runtime on Windowskr.angelov
2014-02-27include malloc.h in a few places to avoid warnings on Windowskr.angelov
2014-02-09GuVariant is now plain uintptr_t instead of a structure to make it easier to ↵kr.angelov
write Haskell bindings
2014-02-05bugfix in the recognizer for literals in the C runtimekr.angelov
2013-12-17make sure that pgf_concrete_load has no effect on grammars that are ↵kr.angelov
completely loaded
2013-12-10loading and unloading of languages in the C runtime and in the Python bindingskr.angelov
2013-11-27added API in the C runtime and the Java binding for checking whether a given ↵kr.angelov
function is linearizable in a given language. This is used in the Android UI for better vizualizations
2013-11-22the GF syntax for identifiers is exteded with quoted forms, i.e. you could ↵kr.angelov
write for instance 'ab.c' and then everything between the quites is identifier. This includes Unicode characters and non-ASCII symbols. This is useful for automatically generated GF grammars.
2013-11-22bugfix in the debug mode for the parserkr.angelov
2013-11-21bugfix in the C runtimekr.angelov
2013-11-20fix in the Python bindingkr.angelov
2013-11-18bugfix in the robust parserkr.angelov
2013-11-18add gu_buf_insert in libgukr.angelov
2013-11-15fixes in the C runtime to avoid warnings when compiling on MacOSkr.angelov
2013-11-15pgf_read should open the grammar file in binary mode to prevent the Windows ↵kr.angelov
runtime from messing up the content.
2013-11-15pgf_reader_done should do nothing if the reading has failedkr.angelov
2013-11-13bugfix in the C runtime which had made the parser up to 200 times slower for ↵kr.angelov
some sentences
2013-11-12added Predef.SOFT_BIND. This special token allows zero or more spaces ↵kr.angelov
between ordinary tokens. It is also used in the English RGL to attach the commas to the previous word.