summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-10-09added lookupMorpho in the Java bindingkr.angelov
2013-10-09fix in the Java bindingkr.angelov
2013-10-09avoid warning in parser.c when debugging is OFFkr.angelov
2013-10-09lexer.c is now exluded from the makefile for Android since the new runtime ↵kr.angelov
doesn't need lexing
2013-10-09a major redesign in the C runtime. The parser and the linearizer now fully ↵kr.angelov
support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
2013-10-09added gu_is_space in gu/utf8.h. this helps to avoid the dependency on the ↵kr.angelov
broken unicode library for C.
2013-10-08remove libjpgf.so from darcskr.angelov
2013-10-08fix the robust parser after the change of GuStringkr.angelov
2013-10-08rename the Android translator from GFVoiceExample to GFTranslatorkr.angelov
2013-10-08a quick hack in the Android translation for parsing Chinesekr.angelov
2013-10-08bugfix in GNU lightning for ARMkr.angelov
2013-10-07ensure that the grammar is loaded only once even if the main activity is ↵kr.angelov
recreated
2013-10-07ensure that the grammar is loaded only oncekr.angelov
2013-10-07in case of parse error report the token on Androidkr.angelov
2013-10-07remove the binaries for the grammar, the .so file and .jar file in the ↵kr.angelov
Android App. These should be compiled from sources
2013-10-07remove the custom background in activity_main.xml since it is not backward ↵kr.angelov
compatible with older versions of Android
2013-10-07fix the grammar printer after the change of GuString in libgukr.angelov
2013-10-04remove the grammar copying from the Android UI since now we can load ↵kr.angelov
grammars from InputStream
2013-10-04Add new Android voice translator sample appbringert
This adds a simple voice translator Android app that uses the JNI bindings to the PGF C runtime. Caveats: - Since the C runtime doesn't compile for Android right now, I've bundled an old copy, along with its Java bindings. That should be removed once the C runtime compiels for Android again. - Adding an automated build would be nice. - Replacing the grammar requires editing a Java file, that should really be more dynamic.
2013-10-04fixes in the Java binding after the refactoring of GuStringkr.angelov
2013-10-04suppress warning in graphviz.ckr.angelov
2013-10-04GuString is now an ordinary C string - it makes live easier. In addition ↵kr.angelov
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-03space leak in the Java bindingkr.angelov
2013-10-03the symbol for nonExist in the GF runtime should be the last. this ↵kr.angelov
simplifies the binary search in the C runtime
2013-10-02something in the typeinferencer of the latest GHC has changed. I need to add ↵kr.angelov
a type signature for GF.Compile.GrammarToPGF.genCncFuns in order to compile.
2013-09-30fix the bracketed linearization in Python after the introduction of nonExist ↵kr.angelov
and BIND
2013-09-30fix the graphviz visualization after the introduction of nonExist and BINDkr.angelov
2013-09-23the compiler now sorts the list of sequences in the PGF fileskr.angelov
2013-09-30better handling for nonExist in the C runtime. BIND is also supported in the ↵kr.angelov
linearizer but not in the parser yet
2013-09-27a major refactoring in the C and the Haskell runtimes. Note incompatible ↵kr.angelov
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-26remove pgf/edsl.h from the C runtimekr.angelov
2013-09-26add gu_variant_close in libgukr.angelov
2013-09-25fix the debug mode of the parser after the refactoring in libgukr.angelov
2013-09-25added assertion in the JIT compiler which checks that we are not going ↵kr.angelov
outside of the compilation window
2013-09-25fix a typo in src/runtime/javascript/translator.htmlkr.angelov
2013-09-24a small fix in the python binding after the refactoring in the C runtimekr.angelov
2013-09-23GrammarToPGF now looks only at the top modules for the PGF flagskr.angelov
2013-09-23fix a warning in the compilerkr.angelov
2013-09-23GF.Grammar.Grammar.allExtends now returns a list of source modules instead ↵kr.angelov
of just the module names. This saves extra lookups later
2013-09-20Comment out identifier refreshing code only used by the removed refresh passhallgren
2013-09-19Introduce type RawIdent; only 9 imports of Data.ByteString.Char8 remainhallgren
The fact that identifiers are represented as ByteStrings is now an internal implentation detail in module GF.Infra.Ident. Conversion between ByteString and identifiers is only needed in the lexer and the Binary instances.
2013-09-19Make Ident abstract; imports of Data.ByteString.Char8 down from 29 to 16 moduleshallgren
Most of the explicit uses of ByteStrings were eliminated by using identS, identS = identC . BS.pack which was found in GF.Grammar.CF and moved to GF.Infra.Ident. The function prefixIdent :: String -> Ident -> Ident allowed one additional import of ByteString to be eliminated. The functions isArgIdent :: Ident -> Bool getArgIndex :: Ident -> Maybe Int were needed to eliminate explicit pattern matching on Ident from two modules.
2013-09-18the PGF reader now releases strings that are not used after the loadingkr.angelov
2013-09-18add type signature for gu_string_length in the headers of libgukr.angelov
2013-09-17bugfix in the ordering of strings in libgukr.angelov
2013-09-17gu_buf_binsearch -> gu_seq_binsearch. Improved APIkr.angelov
2013-09-17added order and equality for strings in libgukr.angelov
2013-09-17a major refactoring in the C runtime. GuList is now removed and replaced ↵kr.angelov
with GuSeq. The GuSeq/GuBuf API is simplified
2013-09-16added BSD licenses to the Java binding and the android UIkr.angelov
2013-09-13remove leftcorner_cat_idx which is now redundantkr.angelov