hallgren
|
8d9821a977
|
C run-time: protect from Windows specific #includes with #ifdef __MINGW32__
|
2014-03-06 13:42:27 +00:00 |
|
kr.angelov
|
ab8dd16e8d
|
include malloc.h in a few places to avoid warnings on Windows
|
2014-02-27 19:34:14 +00:00 |
|
kr.angelov
|
7c66e438e1
|
GuVariant is now plain uintptr_t instead of a structure to make it easier to write Haskell bindings
|
2014-02-09 19:07:15 +00:00 |
|
kr.angelov
|
2dd04b2b2f
|
add gu_buf_insert in libgu
|
2013-11-18 09:05:09 +00:00 |
|
kr.angelov
|
fb8de0e8ea
|
fixes in the C runtime to avoid warnings when compiling on MacOS
|
2013-11-15 10:03:22 +00:00 |
|
kr.angelov
|
03e7c287fd
|
bugfix in the binary search implementation in libgu
|
2013-11-07 11:13:47 +00:00 |
|
kr.angelov
|
ceb156b93b
|
remove redundant type signature in gu/seq.h
|
2013-11-07 09:47:07 +00:00 |
|
kr.angelov
|
330e33a386
|
make gu_exn_is_raised non inlined. this is useful to make it callable from Haskell
|
2013-11-01 16:38:16 +00:00 |
|
kr.angelov
|
90cc7b8379
|
fixed utf-8 decoding problem in libgu
|
2013-10-31 13:20:12 +00:00 |
|
kr.angelov
|
841880144d
|
fix the handling of 'pre' in the C runtime
|
2013-10-28 12:35:37 +00:00 |
|
kr.angelov
|
fad9947aab
|
bugfix in gu/seq.h
|
2013-10-28 08:58:36 +00:00 |
|
kr.angelov
|
b058fdd17d
|
a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
|
2013-10-09 12:08:51 +00:00 |
|
kr.angelov
|
eff9a3011c
|
added gu_is_space in gu/utf8.h. this helps to avoid the dependency on the broken unicode library for C.
|
2013-10-09 08:37:42 +00:00 |
|
kr.angelov
|
2f78333e28
|
GuString is now an ordinary C string - it makes live easier. In addition PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use.
|
2013-10-04 12:04:39 +00:00 |
|
kr.angelov
|
ab52863534
|
add gu_variant_close in libgu
|
2013-09-26 10:41:52 +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
|
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
|
fec8720f31
|
remove the string internalization since it slows down grammar loading with little benefit
|
2013-09-05 13:34:49 +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
|
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 |
|
kr.angelov
|
d2ea52e0ec
|
avoid using nan() in libgu for portability with Android
|
2013-09-04 07:36:39 +00:00 |
|
kr.angelov
|
a6a58ac767
|
comparison for strings in libgu
|
2013-08-27 08:07:18 +00:00 |
|
kr.angelov
|
a33f2399c2
|
quicksort and binary search for buffers in libgu
|
2013-08-27 08:06:34 +00:00 |
|
kr.angelov
|
e3c188c8a8
|
added GuEnum interface for iterating over maps in the C runtime
|
2013-08-19 12:13:47 +00:00 |
|
kr.angelov
|
52e2298240
|
bugfix for parsing floating point numbers in the C runtime
|
2013-07-18 14:29:58 +00:00 |
|
kr.angelov
|
6971642cc7
|
hash function for abstract syntax trees
|
2013-07-02 19:12:53 +00:00 |
|
kr.angelov
|
aacc15b58f
|
bugfix for the word completion in the C runtime
|
2013-06-22 15:39:47 +00:00 |
|
kr.angelov
|
fac39a78fe
|
readPGF in the Python runtime now throws "No such file or directory" exception if the grammar is missing
|
2013-05-29 10:49:56 +00:00 |
|
kr.angelov
|
9cdd96363a
|
word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion
|
2013-05-01 06:09:55 +00:00 |
|
kr.angelov
|
f001d40ae3
|
added gu_buf_flush in seq.c which removes all elements from a buffer
|
2013-02-26 09:48:09 +00:00 |
|
kr.angelov
|
eca4a28563
|
implement gu_exn_caught in gu/exn.c. It was missing
|
2013-02-01 09:26:30 +00:00 |
|
kr.angelov
|
0be179d7ff
|
bugfix in the strings library from the C runtime
|
2012-12-27 21:18:46 +00:00 |
|
kr.angelov
|
1376df457d
|
started an official API to the C runtime
|
2012-12-12 11:25:58 +00:00 |
|
kr.angelov
|
1e531e8237
|
implemented gu_map_count in runtime/c/gu/map.c
|
2012-11-12 12:42:19 +00:00 |
|
kr.angelov
|
9721833680
|
a major refactoring in the robust parser: bottom-up filtering and garbage collection for the chart
|
2012-10-25 14:42:53 +00:00 |
|
kr.angelov
|
3a352a953f
|
Use a separated tag for meta productions in the robust parser. This cleans up the code a lot
|
2012-06-13 05:49:30 +00:00 |
|