Commit Graph

48 Commits

Author SHA1 Message Date
kr.angelov
d7b8f9d9a1 update the Eclipse project for jpgf with settings needed for Windows 2014-02-27 19:28:25 +00:00
kr.angelov
87527c5f04 load/unload in the Java binding 2013-12-10 16:06:34 +00:00
kr.angelov
6028a63b42 loading and unloading of languages in the C runtime and in the Python bindings 2013-12-10 15:00:52 +00:00
kr.angelov
9de4812482 better dictionary visualization in the Android App 2013-11-27 22:16:05 +00:00
kr.angelov
3509a8d4cc added API in the C runtime and the Java binding for checking whether a given function is linearizable in a given language. This is used in the Android UI for better vizualizations 2013-11-27 12:35:11 +00:00
kr.angelov
e68067a83c update the project files for the Java binding 2013-11-27 12:34:33 +00:00
kr.angelov
085808513d space leak in the Java binding 2013-11-27 12:34:06 +00:00
kr.angelov
85e238f824 the Java binding for lookupMorpho should release the local references created in a loop 2013-11-21 14:29:47 +00:00
kr.angelov
d7dfa01bb0 add additional options for compiling the Java binding on Windows (suggested by Normunds) 2013-11-15 07:48:02 +00:00
kr.angelov
cbfa65c7ae the 'Release' configuration in Eclipse is renamed to 'Release (posix)'. In addition now there is 'Release (mingw)' for Windows. 2013-11-07 08:36:17 +00:00
kr.angelov
4265a31003 added #ifdef to detect MinGW in the Java binding and to import the right header for alloca 2013-11-07 08:08:41 +00:00
kr.angelov
5739785c77 bugfix in the Java binding 2013-11-06 14:41:42 +00:00
kr.angelov
c98a9a3266 tabular linearization in the C and Java runtimes 2013-10-23 14:49:28 +00:00
kr.angelov
3f3c5d968a make MorphoAnalysis serializable 2013-10-11 08:10:58 +00:00
kr.angelov
7b1db5d36e readExpr in the Java binding 2013-10-11 08:10:04 +00:00
kr.angelov
76014aa2cc added lookupMorpho in the Java binding 2013-10-09 19:39:50 +00:00
kr.angelov
835a15a343 fix in the Java binding 2013-10-09 19:37:57 +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
0d9d926131 fixes in the Java binding after the refactoring of GuString 2013-10-04 19:53:19 +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
96399838b7 space leak in the Java binding 2013-10-03 21:00:45 +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
d88084a2d5 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
4e328d1f33 added exhaustive generation in the Java binding 2013-09-06 07:21:38 +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
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
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
b37fed3d2d the PGF class is now using the new Pool class to manage the life time of the memory allocated in C. 2013-08-29 05:38:07 +00:00
kr.angelov
48b6af710d more carefull tracking of references in the Java binding 2013-08-29 05:35:45 +00:00
kr.angelov
93db90e99c now Concr.parseBest throws ParseError 2013-08-28 15:35:57 +00:00
kr.angelov
de7fbd22e7 fix the error handling in the Java binding 2013-08-28 08:51:53 +00:00
kr.angelov
0efde1e2b0 make the Expr constructor private 2013-08-28 07:09:31 +00:00
kr.angelov
cb33a971f0 fixes in the Java binding 2013-08-28 00:04:50 +00:00
kr.angelov
109546b227 added PGF.getStartCat() 2013-08-27 23:02:00 +00:00
kr.angelov
416996b713 added method for best first parsing in the Java binding 2013-08-27 22:54:10 +00:00
kr.angelov
2995a16da3 bugfix in the java binding 2013-08-27 22:53:38 +00:00
kr.angelov
c9c599977f linearization in the Java binding 2013-08-27 22:39:26 +00:00
kr.angelov
75c1100575 small refactoring in the Java binding 2013-08-27 22:37:31 +00:00
kr.angelov
8d82dc66bf parsing from the Java binding 2013-08-27 21:53:13 +00:00
kr.angelov
216f4b1c40 a bit more on the Java to C binding. Now it is possible to load a grammar and query for the list of languages 2013-08-01 10:48:19 +00:00
kr.angelov
e969aa69ff added a test class for the Java API plus a small refinement in the implementation for the binding 2013-05-28 13:32:32 +00:00
kr.angelov
bd859fcf28 an initial skeleton for building a Java binding to the C runtime 2013-05-28 12:59:19 +00:00