| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Clearly just a copy-paste error
|
|
https://github.com/GrammaticalFramework/gf-typescript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Matches definition in src/compiler/GF/Grammar/Lexer.x
|
|
|
|
Adds new class TaggedString
|
|
|
|
|
|
`javascript`.
|
|
|
|
Not sure if this behaviour is identical to previous version,
or in truth how important it really is anyway
|
|
Despite it being deprecated 🙈
|
|
|
|
|
|
|
|
|
|
|
|
gflib.js required changing the String prototype which I'm not sure I want to do here
|
|
All code has been copied from gflib.js but there are many type errors
yet to be resolved
|
|
|
|
Still not 100% tested: best solution will really be to rewrite
gflib.js in TypeScript and at the same time use ES modules
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Found via C compiler warning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|