17 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
06fb6d69f8 lkm: rename the "setenv" command to "printenv" 2025-03-10 16:23:41 +00:00
Pierre-Marie de Rodat
5cdce44320 Doc: refresh the tutorial
Switch the language spec to Lkt/lkm, the interpreter to Python3 and
recent generated Python APIs, and update explanations to accomodate the
evolution of Langkit in general.
2025-02-14 15:03:35 +01:00
Oliver Kellogg
15267cdde3 Fix a few typos in documentation 2023-01-20 13:10:44 +00:00
Laurent Thévenoux
a00254ab84 Update langkit tutorial
This patchs updates the langkit tutorial, starting from the `Getting
Started` section. It consists of updating the new file/path names used
by langkit when creating a project and switching some Python code from
version 2 to 3.

It also adds a new file, `kalint.py` to help the reader to correctly
assemble all the pieces of the langit toy interpreter.
2021-09-08 13:49:27 +02:00
Pierre-Marie de Rodat
cc3f03ce60 Tutorial: add instructions to setenv the generated library 2020-03-25 18:14:27 +01:00
Pierre-Marie de Rodat
c2cfbc9f04 Remove references to Quex from the README and the tutorial
TN: R913-030
2019-02-08 11:19:48 +01:00
Romain Beguet
6ab0590c3e S121-011: Update tutorial.rst. 2019-02-07 12:54:10 +01:00
Pierre-Marie de Rodat
abfac9fb71 tutorial.rst: fix a typo
(no-tn-check)
2018-02-06 10:53:40 +01:00
Pierre-Marie de Rodat
d90ddbf3c6 tutorial.rst: update code chunks according to recent API changes
(no-tn-check)
2018-02-05 17:53:36 +01:00
Pierre-Marie de Rodat
d9f5134a3d tutorial.rst: fix parsing errors in example program
(no-tn-check)
2018-02-05 17:48:34 +01:00
Pierre-Marie de Rodat
7dc11b65d3 Documentation: remove references to the Row parser
TN: QB07-038
2017-11-07 18:07:28 +01:00
Pierre-Marie de Rodat
c491349cb3 Documentation: update the tutorial for recent Langkit changes
Change-Id: Ia79270889e9e88397d2b5a109789bdecf2490286
TN: Q929-015
2017-10-02 12:58:18 +02:00
Pierre-Marie de Rodat
f1c9e1eda3 Documentation: remove unintended blockquotes around lists
Change-Id: I3c2ad250971137b5d1e5a89f64944b33f09bd208
TN: minor
2016-05-17 15:24:35 +02:00
Bob Duff
76e667e2f5 Minor: fix some typos.
Change-Id: Ief82ae63148e3ad738c7cc4b2f2b5a1e3f0e0695
2016-02-02 10:58:48 +01:00
Pierre-Marie de Rodat
d5436c0b06 Tutorial: make language for code blocks explicit
Currently, code blocks are sometimes annotated with the "::" construct
while others are annotated with the ".. code-block:: <language>" one.
Turn all of them into the latter form so that GitHub can highlight them
correctly.

Change-Id: I9e653d21a153cdf96a6ee6e4fa9e55e622170c03
TN: P111-033
2016-01-14 12:30:52 +01:00
Pierre-Marie de Rodat
27e00e3bae Update the tutorial after recent interface changes
Change-Id: I4bd939c98e31124e0a1c3b0d54b2968b83e186c1
TN: O812-010
2016-01-07 13:25:00 +01:00
Raphael Amiard
f2517372d4 Moving langkit directory to the root 2015-12-08 12:09:22 +01:00