Commit Graph

4365 Commits

Author SHA1 Message Date
krasimir
c73ab109a5 add gu_string_buf_data and gu_string_buf_length in libgu 2017-04-13 12:55:29 +00:00
krasimir
afdf54d333 silence a few warnings on MacOS 2017-04-13 11:07:08 +00:00
krasimir
5280202ac3 use GU_API_DATA_DECL instead of GU_API_DATA to make the C runtime compile again on MacOS 2017-04-13 11:06:24 +00:00
aarne
173cd00873 Translator.java in android app now tries to find the lowercased first word in the lexicon if uppercased fails; added Est and Rus in the help file 2017-04-12 14:21:54 +00:00
krasimir
ee93c25d19 update SG.hsc 2017-04-12 11:55:27 +00:00
krasimir
4e19b1d510 remove the teyjus and utils folders 2017-04-12 10:31:01 +00:00
krasimir
3454812516 a patch from Bjørnar Luteberget for compatibility with MSVC 2017-04-12 10:24:56 +00:00
krasimir
be38ab9a2f some work on libsg queries 2017-04-12 10:05:22 +00:00
aarne
9cdd5d3538 re-enabled Phrasebook in App ; added Russian ; testing with lower-casing the input 2017-04-11 15:48:18 +00:00
krasimir
0560180c67 upgrade Android SDK version 2017-04-11 13:40:02 +00:00
krasimir
bc84a54ca1 forgot src/ui/android/res/layout/fragment_phrase_list.xml 2017-04-11 12:54:23 +00:00
aarne
5a4937bd85 separated syncat multiwords in dep tree generation ; added function wildcards to concrete annotatations (see for instance english/LangEng.labels) 2017-04-06 15:40:44 +00:00
aarne
cf464af8b1 vd command now reads local concrete configurations to deal with syncat words; TODO: dissolve clustered multiwords bound with + 2017-04-06 11:55:21 +00:00
krasimir
92ab905be4 added generateOntology & generateOntologyDepth 2017-04-05 11:08:31 +00:00
aarne
3aa14435de fixed a bug in Eq instance generation for GADT and lexical categories 2017-03-22 22:25:21 +00:00
krasimir
e508b6e924 fix the compilation of sqlite3Btree.c on Windows 2017-03-14 11:07:14 +00:00
krasimir
55e975e47b a better error message 2017-03-07 23:17:24 +00:00
krasimir
ed45e0d9f4 GF.Compile.Compute.ConcreteNew now handles Predef.Float 2017-03-07 19:50:43 +00:00
krasimir
a8ba233986 bugfix in record subtyping checking 2017-03-07 17:53:56 +00:00
krasimir
316c198e64 GF.Grammar.Printer now has a Terse mode which prints record types with lock fields with their corresponding abstract categories 2017-03-07 08:24:00 +00:00
krasimir
821bd7bf6e fix for EPatt 2017-03-06 17:15:46 +00:00
krasimir
0d08ec8756 type checking EPatt 2017-03-06 16:24:58 +00:00
krasimir
635faeeadd GF.Compile.Compute.ConcreteNew now can handle EPattType 2017-03-06 15:44:25 +00:00
krasimir
842df74cf5 some missing patterns 2017-03-06 14:44:03 +00:00
krasimir
04112682ec added overload resolution in the experimental type checker 2017-03-06 14:09:16 +00:00
krasimir
0debac9f98 some progress on the experimental type checker for the concrete syntax 2017-03-03 16:37:22 +00:00
aarne
fbce74dc16 corrected fg generation for lexical categories, to avoid a type error in generated code 2017-02-24 20:50:36 +00:00
hallgren
cc6755be33 Fix compilation errors caused by changes in PGF2
These prevented GF from being built with C run-time support (-fc-runtime).
2017-02-21 13:21:59 +00:00
krasimir
72fc90d13e safer memory management in the Haskell binding 2017-02-10 17:10:37 +00:00
hallgren
6f23d6242e langcode.js: updated to include codes for recently added RGL languages 2017-02-10 12:18:36 +00:00
krasimir
4fae6e89a3 API for computing the Haskell binding 2017-01-26 18:41:07 +00:00
krasimir
22c10a1a27 use throwIO instead of throw in a few placed 2017-01-26 18:40:36 +00:00
krasimir
e47b8a1cbc type checking API in the Haskell binding 2017-01-26 14:09:07 +00:00
krasimir
cf1a1c3e3c a better implementation for PGF2.categories 2017-01-26 13:37:12 +00:00
krasimir
2b5194f2d2 now the Python API also accepts types as start categories. Using a string is still ok. 2017-01-26 13:31:08 +00:00
krasimir
d687413052 forgot to add src/runtime/haskell-bind/PGF2/Type.hsc 2017-01-26 13:00:22 +00:00
krasimir
74b0df2b6b bring the Haskell binding a bit closer to the pure Haskell API 2017-01-26 12:48:22 +00:00
krasimir
99b88d0014 copy the types for BracketedString from the Haskell runtime to the Haskell bindings 2017-01-26 10:31:43 +00:00
krasimir
06450249e3 added mkMeta and unMeta in the Haskell binding 2017-01-26 10:17:02 +00:00
krasimir
47a4363d07 added mkAbs and unAbs in the Haskell binding 2017-01-26 10:04:42 +00:00
krasimir
45dd793f50 more startCat to the Types section in the Haddock documentation for the Haskell binding 2017-01-26 06:41:27 +00:00
krasimir
4442e302e6 add unStr,unInt and unFloat in the Haskell binding 2017-01-26 06:40:13 +00:00
krasimir
00f15826af improve the documentation for PGF2 2017-01-25 20:30:54 +00:00
krasimir
3279210cd7 add functionsByCat in the Haskell binding 2017-01-25 10:44:08 +00:00
krasimir
d747fcb897 bugfix in the Haskell binding 2017-01-25 10:37:34 +00:00
krasimir
f81651aa08 added linearizeAll in the Java API 2017-01-24 10:14:12 +00:00
krasimir
06b5edef91 resolve a conflict that was for some reason commited in src/runtime/java/Makefile 2017-01-24 09:36:39 +00:00
prasanth.kolachina
c9e3d0340d python examples compatible with both Python 2 and 3 2016-09-19 08:32:08 +00:00
aarne
7849184875 BNF grammars (.bnf or .cf) can have rules without semicolons, as in the GF book examples. However, if the grammar has any multiline rules, all of them must have semicolons. 2016-09-05 21:15:44 +00:00
krasimir
64d4c061c2 python2 is now supported. the patch is based on a contribution from Vinit Ravishankar 2016-08-01 10:39:54 +00:00