summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
2019-08-09Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov
2019-08-09bugfix in the parser's scannerkrangelov
2019-08-07Remove wrong Haddock comment in PGF2John J. Camilleri
Clearly just a copy-paste error
2019-07-11Remove TypeScript runtime and point to new repositoryJohn J. Camilleri
https://github.com/GrammaticalFramework/gf-typescript
2019-06-30fully supported case-insensitive parsing/lookupkrangelov
2019-06-25the parser now ensures that all word senses are in the chartkrangelov
2019-06-24fix in gu_buf_heap_popkrangelov
2019-06-24Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov
2019-06-24share some code for printingkrangelov
2019-06-13gflib.ts: put warning on console when function undefinedJohn J. Camilleri
2019-06-13gflib.ts: fix in annotation when type is unknownJohn J. Camilleri
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