Commit Graph

101 Commits

Author SHA1 Message Date
Inari Listenmaa df77205c43 (Tutorial) Rename TV (transitive verb) to V2, the name used in RGL 2020-10-02 17:58:57 +02:00
Inari Listenmaa e41436eb14 (Tutorial) Remove reference to morpho_list + overly verbose path 2020-10-02 17:57:35 +02:00
Inari Listenmaa 2826061251 (Tutorial) Update the pre syntax 2020-10-02 17:56:24 +02:00
Inari Listenmaa f56fbcf86e (Tutorial) Remove mentions to pt -typecheck
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-09-29 09:23:36 +02:00
Inari Listenmaa bca0691cb0 (Tutorial) Minor typofixes + current error message 2020-08-31 15:54:33 +02:00
Inari Listenmaa bf21b4768c (Tutorial) Fix to make calculator example compile
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.
2020-08-21 13:25:16 +02:00
Inari Listenmaa f4d9b534dc Remove outdated advice on producing Haskell file 2019-12-12 16:13:47 +01:00
Inari Listenmaa 68919a5e42 (doc) Update path to gflib.js 2019-05-03 18:53:28 +02:00
Thomas Hallgren 61fe167392 gf-tutorial: fix link to JavaScript translator demo
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-05-03 14:52:28 +02:00
John J. Camilleri e9e2bd6b89 Fix linking to chapters in gf-tutorial; Remove reference to Htmls. 2018-12-06 09:00:44 +01:00
John J. Camilleri 72a9eb0c8a Another fake change to trigger rebuild of gf-tutorial 2018-12-05 18:14:17 +01:00
John J. Camilleri 159b6ee331 Fake change to trigger rebuild of gf-tutorial 2018-12-05 11:41:41 +01:00
John J. Camilleri 37e0754cf0 Fix encoding on tutorial 2018-11-04 21:12:32 +01:00
John J. Camilleri 777028dcd8 Remove doc/tutorial/gf-tutorial.html from version control
Checked that the t2t is still valid and html should be automatically
generated. Although there is some encoding issue with this file?
2018-10-31 15:57:21 +01:00
krasimir 011d2a44b8 typo in gf-tutorial: enougo->enough 2017-02-01 14:59:35 +00:00
john.j.camilleri 892596d7d6 Correct #chaptwo to #chapfour URLs in tutorial
Thanks to "drbean" from the IRC channel for pointing this out!
2013-08-12 06:55:08 +00:00
aarne c3071113b3 word alignment ex in tutorial 2010-12-23 10:05:27 +00:00
aarne 3036881d20 updated tutorial and quickstart for 3.2 2010-12-23 09:33:11 +00:00
hallgren 40b84d25e3 Documentation fixes
+ 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
2010-12-22 16:57:53 +00:00
aarne ce15ec7b78 moved parts of doc to deprecated/doc 2010-12-22 14:08:42 +00:00
aarne 032531c6a6 rm old tutorials 2008-06-27 11:27:40 +00:00
aarne 545bcc10ac moved away book 2007-08-31 12:11:35 +00:00
aarne e354002039 chaps 1-4 2007-08-30 13:37:15 +00:00
aarne fafc01d390 introductions to chapters 2007-08-29 12:07:58 +00:00
aarne 97908d4a1c patches to forthcoming chapters 2007-08-29 10:02:48 +00:00
aarne 0a2e24493e appendices to the book 2007-08-29 09:00:50 +00:00
aarne 5a6d513a0e chap on syntax and morpho 2007-08-28 20:44:41 +00:00
aarne 8747b74524 section on cf grammars 2007-08-28 14:10:01 +00:00
aarne 0e13ca8d5a intro revised 2007-08-28 13:40:13 +00:00
aarne 5c8535f8bb chapter on parameters 2007-08-26 18:21:33 +00:00
aarne 599ddcfe91 section on agreement 2007-08-16 21:35:11 +00:00
aarne 3737b99266 foods example moved and completed 2007-08-16 20:12:45 +00:00
aarne f109a7089d book in separate file 2007-08-16 16:23:30 +00:00
aarne 6234e536f6 moved tutorial examples to GF/examples 2007-08-16 16:18:54 +00:00
aarne 5f0e8a16ec improving mini res morpho 2007-08-16 14:10:06 +00:00
aarne 1f342b2c25 prepared mini syntax example 2007-08-16 09:41:00 +00:00
aarne 69129be4b2 book style 2007-08-15 16:36:31 +00:00
aarne 55347bab45 restructured middle part of tutorial 2007-08-15 10:17:50 +00:00
aarne 76c14c4a2c Hello grammars in tutorial 2007-08-14 14:09:25 +00:00
aarne bc1c5a6a09 new tutorial version started 2007-08-13 15:54:41 +00:00
aarne 8452026f58 links to tutorial in index 2007-07-08 17:11:52 +00:00
aarne 23d8ebeb26 tutorial in final form 2007-07-08 16:36:56 +00:00
aarne ba70611669 peb's forest patch 2007-07-08 12:43:07 +00:00
aarne bb423658aa new tutorial almost finished 2007-07-06 15:37:32 +00:00
aarne 1aff0ee08a resource-food example in tutorial 2007-07-05 20:52:56 +00:00
aarne badae80454 restricted functor example 2007-06-19 19:35:04 +00:00
aarne e3f1210369 extended functor syntax 2007-06-19 18:12:35 +00:00
aarne f30fa0b4d1 overload res doc examples, part 2 2007-06-19 18:09:49 +00:00
aarne 6a926ee3fc overloaded resource doc examples 2007-06-19 18:07:18 +00:00
aarne ebf1d19e15 some new overload cases in ParadigmsEng 2007-06-08 14:38:02 +00:00