summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
2019-06-13gflib.ts: generate source map, which is helpful for debuggingJohn J. Camilleri
2019-06-13gflib.ts: handled unimplemented functions during linearisationJohn J. Camilleri
2019-06-12gflib.ts: also accept U+00C0-U+00FF (\192-\255) in idents in parseTreeJohn J. Camilleri
Matches definition in src/compiler/GF/Grammar/Lexer.x
2019-06-12gflb.ts: add comments about startsWith polyfill, making into moduleJohn J. Camilleri
2019-06-10Avoid modifying String prototype in TypeScript runtimeJohn J. Camilleri
Adds new class TaggedString
2019-06-10Use strict mode in TypeScript, catch some more corner casesJohn J. Camilleri
2019-06-10TypeScript readmeJohn J. Camilleri
2019-06-10Add generated gflib.js under `typescript/js`. Add deprecation notice in ↵John J. Camilleri
`javascript`.
2019-06-10Catch for when rules are undefinedJohn J. Camilleri
2019-06-10Create copies when taggingJohn J. Camilleri
Not sure if this behaviour is identical to previous version, or in truth how important it really is anyway
2019-06-10Minor indentation fixes in gflib.jsJohn J. Camilleri
Despite it being deprecated 🙈
2019-06-07Support for `pre` in gflib.ts. Some type annotation fixes.John J. Camilleri
2019-06-07Porting of JS runtime to TypeScript (`gflib.ts`) completeJohn J. Camilleri
2019-06-07Remove type definitions gflib.d.ts which contained many errors and now obsoleteJohn J. Camilleri
2019-06-07More type fixes in gflib.ts after setting noImplicitAnyJohn J. Camilleri
2019-06-07Clean up whitespace in [old] gflib.jsJohn J. Camilleri
2019-06-07Fix all type errs in gflib.ts except tagging ones. Add TS/eslint configs.John J. Camilleri
gflib.js required changing the String prototype which I'm not sure I want to do here
2019-06-05More progress on gflib.tsJohn J. Camilleri
All code has been copied from gflib.js but there are many type errors yet to be resolved
2019-06-04Add `gflib.ts`, a port of JS runtime `gflib.js` into TypeScript (WIP)John J. Camilleri
2019-05-29Update TypeScript definitions for gflib.jsJohn J. Camilleri
Still not 100% tested: best solution will really be to rewrite gflib.js in TypeScript and at the same time use ES modules
2019-05-28bits of documentationkrangelov
2019-05-28filter out empty cohortskrangelov
2019-05-28API for scanning for cohorts in an arbitrary textkrangelov
2019-05-27Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov
2019-05-27remove duplicate definition for RecordComparekrangelov
2019-05-03runtime/javascript: use a grammar.js with two langaugesThomas Hallgren
grammar.js contained only one langauge: FoodsEng. Now it contains FoodsEng and FoodsIta, similar to what's shown in the gf-tutorial. The grammar comes from gf-contrib/tutorial/foods.
2019-05-03gf-tutorial: fix link to JavaScript translator demoThomas Hallgren
After fixing trivial problem in translator.html, the demo works, but the example grammar contains only one langauge, so it is not so interesting. translator.html is located in src/runtime/javascript. The editor.html in the same location also works.
2019-03-20hiding morphological tags from Latex printing of dependency treesAarne Ranta
2019-03-19support cross-compilation from Linux to Windowskrangelov
2019-03-19Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov
2019-03-19added one more possible location for Java headerskrangelov
2019-03-07haskell-bind/utils.c: add missing returnThomas Hallgren
Found via C compiler warning
2019-02-27strip empty phrases in bracketedLinearizekrangelov
2019-02-20added Data.Data.Data instance for Exprkrangelov
2019-02-18fixes in the headers for use with Microsoft Visual C++krangelov
2019-02-18fixes in the headers for compilation on Windowskrangelov
2019-02-14disable the parser debugger which was left enabled by accidentkrangelov
2019-02-14fix the reader for patterns in a def rulekrangelov
2019-02-14different definition for GF_ARRAY_LENkrangelov
2019-02-14bugfix in computing record lengthskrangelov
2019-01-23PGF.Haskell.fromStr: fix double spaces caused by empty tokensThomas Hallgren
2019-01-07add CoNLLU as output format for gf2ud: merging issue (#24)Prasanth Kolachina
2019-01-07Merge pull request #24 from odanoburu/gf2ud-commentsPrasanth Kolachina
(gf2ud) add comments to CoNLL-U output
2018-12-20revert to printing the unique id in ppBracketedStringKrasimir Angelov
2018-12-20save the original concrete category in BracketedStringKrasimir Angelov
2018-12-19(gf2ud) add comments to CoNLL-U outputodanoburu
when debbuging labels, I find it useful to have comments saying what's the original sentence (lazy, I know) and the original tree (depending on the treebank, the trees can be similar). I know this is not the goal exactly, but UDv2 treebanks (http://universaldependencies.org/format.html) should always have a 'text =' comment, and a 'sent_id =' comment (which would be easy to implement too, but not that useful).
2018-12-18added the possibility to annotate features of syncat words, e.g. @"is" PresSg3Aarne Ranta
2018-12-18refactored cnc configfile parsing a bitAarne Ranta
2018-12-18Merge branch 'master' into masterAarne Ranta
2018-12-18morph. feat generation by ARPrasanth Kolachina