summaryrefslogtreecommitdiff
path: root/doc/tutorial/gf-tutorial.t2t
AgeCommit message (Collapse)Author
2020-10-02(Tutorial) Rename TV (transitive verb) to V2, the name used in RGLInari Listenmaa
2020-10-02(Tutorial) Remove reference to morpho_list + overly verbose pathInari Listenmaa
2020-10-02(Tutorial) Update the pre syntaxInari Listenmaa
2020-09-29(Tutorial) Remove mentions to pt -typecheckInari Listenmaa
The GF shell no longer has `put_tree -typecheck` option, and typechecking is done automatically when parsing. The metavariable thing is a bit unclear: you don't get it when parsing "dim the light", or "switch on the fan, but you do get it when you `gt` after adding `switchOn` and `switchOff`. ``` > p "switch on the fan" CAction fan (switchOff fan) (DKindOne fan) > gt CAction light dim (DKindOne light) CAction ?3 (switchOff ?3) (DKindOne ?3) CAction ?3 (switchOn ?3) (DKindOne ?3) ``` My hypothesis is that you don't get metavariable when parsing e.g. "dim the light", because even though `light` is suppressed in `CAction`, it still appears in `DKindOne`, so it gets to contribute to the whole tree with its string.
2020-08-31(Tutorial) Minor typofixes + current error messageInari Listenmaa
2020-08-21(Tutorial) Fix to make calculator example compileInari Listenmaa
In abstract: startcat needs to be defined to run the commands that are shown later in the doc. In concrete: ss and SS are defined in Prelude.
2019-12-12Remove outdated advice on producing Haskell fileInari Listenmaa
2019-05-03(doc) Update path to gflib.jsInari Listenmaa
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.
2018-12-06Fix linking to chapters in gf-tutorial; Remove reference to Htmls.John J. Camilleri
2018-12-05Another fake change to trigger rebuild of gf-tutorialJohn J. Camilleri
2018-12-05Fake change to trigger rebuild of gf-tutorialJohn J. Camilleri
2018-11-04Fix encoding on tutorialJohn J. Camilleri
2018-10-31Remove doc/tutorial/gf-tutorial.html from version controlJohn J. Camilleri
Checked that the t2t is still valid and html should be automatically generated. Although there is some encoding issue with this file?
2017-02-01typo in gf-tutorial: enougo->enoughkrasimir
2013-08-12Correct #chaptwo to #chapfour URLs in tutorialjohn.j.camilleri
Thanks to "drbean" from the IRC channel for pointing this out!
2010-12-23word alignment ex in tutorialaarne
2010-12-23updated tutorial and quickstart for 3.2aarne
2010-12-22Documentation fixeshallgren
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files. + Add program update_html that finds all .t2t documents and updates the corresponding .html file. It can be invoked with 'make html'. + Add style to some .html documents