kr.angelov
96399838b7
space leak in the Java binding
2013-10-03 21:00:45 +00:00
kr.angelov
357ddfb5d3
the symbol for nonExist in the GF runtime should be the last. this simplifies the binary search in the C runtime
2013-10-03 08:21:31 +00:00
kr.angelov
573654e125
fix the bracketed linearization in Python after the introduction of nonExist and BIND
2013-09-30 11:49:51 +00:00
kr.angelov
cedf848b5d
fix the graphviz visualization after the introduction of nonExist and BIND
2013-09-30 10:38:28 +00:00
kr.angelov
c4f68adca9
better handling for nonExist in the C runtime. BIND is also supported in the linearizer but not in the parser yet
2013-09-30 10:25:39 +00:00
kr.angelov
efa4bc4d62
a major refactoring in the C and the Haskell runtimes. Note incompatible change in the PGF format!!!
...
The following are the outcomes:
- Predef.nonExist is fully supported by both the Haskell and the C runtimes
- Predef.BIND is now an internal compiler defined token. For now
it behaves just as usual for the Haskell runtime, i.e. it generates &+.
However, the special treatment will let us to handle it properly in
the C runtime.
- This required a major change in the PGF format since both
nonExist and BIND may appear inside 'pre' and this was not supported
before.
2013-09-27 15:09:48 +00:00
kr.angelov
a6e0ef76f1
remove pgf/edsl.h from the C runtime
2013-09-26 11:59:35 +00:00
kr.angelov
ab52863534
add gu_variant_close in libgu
2013-09-26 10:41:52 +00:00
kr.angelov
65ea8814aa
fix the debug mode of the parser after the refactoring in libgu
2013-09-25 10:21:35 +00:00
kr.angelov
be8bf64eb2
added assertion in the JIT compiler which checks that we are not going outside of the compilation window
2013-09-25 07:53:10 +00:00
kr.angelov
b2b5bda43d
fix a typo in src/runtime/javascript/translator.html
2013-09-25 07:13:50 +00:00
kr.angelov
a1a4f7a1c1
a small fix in the python binding after the refactoring in the C runtime
2013-09-24 09:14:43 +00:00
kr.angelov
aea67b8109
the PGF reader now releases strings that are not used after the loading
2013-09-18 08:26:11 +00:00
kr.angelov
2b14fd2aae
add type signature for gu_string_length in the headers of libgu
2013-09-18 08:03:37 +00:00
kr.angelov
016721d676
bugfix in the ordering of strings in libgu
2013-09-17 19:05:54 +00:00
kr.angelov
b6ba5e7493
gu_buf_binsearch -> gu_seq_binsearch. Improved API
2013-09-17 19:04:46 +00:00
kr.angelov
62019f0881
added order and equality for strings in libgu
2013-09-17 13:45:37 +00:00
kr.angelov
f984bfeb24
a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified
2013-09-17 12:45:00 +00:00
kr.angelov
5f0b5ecf35
added BSD licenses to the Java binding and the android UI
2013-09-16 06:54:55 +00:00
kr.angelov
d5438439dc
remove leftcorner_cat_idx which is now redundant
2013-09-13 13:49:17 +00:00
kr.angelov
605772fda1
minor optimization/refactoring in the grammar reader
2013-09-13 11:02:17 +00:00
kr.angelov
239eb22df5
the leftcorner indexing is now completely removed since it slowed down the loading without speeding up parsing a lot
2013-09-13 10:26:33 +00:00
kr.angelov
40baee9068
fix the debug mode of the parser after the changes in the libgu API
2013-09-13 09:58:20 +00:00
kr.angelov
540de9c2d0
tiny optimization in pgf/reader
2013-09-13 09:50:44 +00:00
kr.angelov
d39003f872
bugfix in utf8.c
2013-09-13 09:50:04 +00:00
kr.angelov
d6323291cd
fix a warning in utf8.c
2013-09-13 08:30:57 +00:00
kr.angelov
fc038c5240
optimize the reading of strings in the grammar loader.
2013-09-13 08:28:20 +00:00
kr.angelov
1e17f768fc
more UTF8 cleanup
2013-09-13 08:12:19 +00:00
kr.angelov
30f37feb57
clean up the UTF8 API in libgu
2013-09-13 07:44:45 +00:00
kr.angelov
d51b976d29
remove the logging from libgu
2013-09-12 09:30:02 +00:00
kr.angelov
d88084a2d5
enable the PGF JIT compiler for Android
2013-09-12 09:05:43 +00:00
kr.angelov
b3a644300c
rewrite the ARM port of GNU lightning to a form compatible with the versions for the other CPUs
2013-09-11 20:17:50 +00:00
kr.angelov
4e328d1f33
added exhaustive generation in the Java binding
2013-09-06 07:21:38 +00:00
kr.angelov
fec8720f31
remove the string internalization since it slows down grammar loading with little benefit
2013-09-05 13:34:49 +00:00
kr.angelov
8e2de541b6
move src/runtime/android to src/ui/android/jni
2013-09-05 12:19:59 +00:00
kr.angelov
993522eb5a
added version readPGF in Java which takes as argument InputStream. This makes it easier to load grammars from the assets folder in Android
2013-09-05 12:12:01 +00:00
kr.angelov
f8c8194303
fix gu_in_bytes_ to use buffering
2013-09-05 12:10:55 +00:00
kr.angelov
83ca6c4f9f
remove the read and write modules from libgu. this simplifies the i/o layer
2013-09-05 11:20:39 +00:00
kr.angelov
d0f527d0dd
remove dump and yaml from libgu
2013-09-05 10:01:47 +00:00
kr.angelov
bb36597050
bugfix for gu_buffered_in
2013-09-05 09:50:57 +00:00
kr.angelov
cbc2ac1326
add gu and pgf in the library path for building the Java binding
2013-09-04 20:30:43 +00:00
kr.angelov
6e60e12aee
added description file for building jpgf.jar
2013-09-04 18:48:51 +00:00
kr.angelov
4b9ae55925
fix the warnings from the Java binding
2013-09-04 18:23:49 +00:00
kr.angelov
76d1db7dc5
now it is possible to compile the C code for the Java binding from Eclipse. The old and broken Makefile is now removed
2013-09-04 18:09:06 +00:00
kr.angelov
643ca7987c
added Eclipse project for building the Java binding
2013-09-04 14:06:06 +00:00
kr.angelov
d3dad68c9b
fix a few warnings in the Java binding
2013-09-04 13:37:40 +00:00
kr.angelov
d62cf1363c
added make file for compiling the C runtime for Android. The JIT compiler for Android is temporary disabled
2013-09-04 11:56:47 +00:00
kr.angelov
a690fb7d6f
the code in the C runtime is now complete independent from config.h
2013-09-04 11:51:05 +00:00
kr.angelov
91bb633d1d
remove the dependency on the CHAR_ASCII flag
2013-09-04 10:27:08 +00:00
kr.angelov
49c7a029b6
remove the dependency on the HAVE_STATEMENT_EXPRESSIONS flag. This reduces the dependency on the ./configure script
2013-09-04 10:06:07 +00:00