45 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
23b09ca068 Doc: fix casing for Lkt 2025-07-01 14:57:08 +00:00
Pierre-Marie de Rodat
1730c7637c Document language spec requirements to generate unparsers 2025-06-26 14:40:57 +00:00
Pierre-Marie de Rodat
1918347f76 Fix the build of the Langkit Sphinx documentation
This has been broken since the removal of abstract expressions. That
part is completely obsolete since the switch to Lkt anyway.
2025-06-26 07:57:39 +00:00
Pierre-Marie de Rodat
6cefc74c93 Set up pre-commit checks and reformat the Python sources with black 2025-03-26 14:04:20 +00:00
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
Pierre-Marie de Rodat
e179ac2623 Doc: fix a formatting warning 2025-02-13 22:17:24 +01:00
Pierre-Marie de Rodat
9fc8227d0a Doc: fix configuration warnings 2025-02-13 22:17:24 +01:00
Pierre-Marie de Rodat
c1f5d99303 Doc: add the Lkt coding style to the index 2025-02-13 22:17:24 +01:00
Romain Beguet
5541fc9e7e Enable caching dynamic env getter result for any entity info. 2024-08-28 12:28:39 +00:00
Pierre-Marie de Rodat
ae0735dcbc doc: bump copyright year 2023-06-08 09:10:22 +00:00
Hugo GUERRIER
08b4562876 Move Java arguments from common to build 2023-05-04 12:38:00 +02:00
Hugo GUERRIER
c0ebab5076 W125-027: Activate the Java bindings testing by default 2023-03-21 14:54:27 +01:00
Hugo GUERRIER
3f27ad882e W125-027 Add the Java bindings 2023-03-17 11:58:43 +01:00
Oliver Kellogg
15267cdde3 Fix a few typos in documentation 2023-01-20 13:10:44 +00:00
Pierre-Marie de Rodat
1f5ac4e0d4 Doc: add a section about property memoization
For #630
2022-07-07 12:21:22 +00:00
Pierre-Marie de Rodat
29072171f1 Update copyright notices for 2022 2022-01-17 15:05:12 +01:00
Pierre-Marie de Rodat
521618b05a lkt_coding_style.rst: fix/extend for parens
TN: U923-014
2021-10-13 10:29:57 +02:00
Pierre-Marie de Rodat
8dfa522fa6 Add user-level doc for lexical environments
This expands the previous langkit.envs module docstring, which was
ultra-minimal. Yet this new doc is still not exhaustive: there are
corner cases to document and more extensive examples to clarify things.

TN: T918-007
2021-09-29 16:03:39 +02:00
Raphaël AMIARD
fe024ba19d U923-014: Add first LKT coding style document 2021-09-23 16:44:56 +02:00
Laurent Thévenoux
87633007e4 Fix documentation copyright year
Sync AdaCore's copyright to 2021.
2021-09-16 16:52:45 +02:00
Laurent Thévenoux
e26e3f78dc doc: Apply stylechecks on kalint.py
Apply proper coding style.
2021-09-16 16:52:20 +02: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
2b9b33d6a0 Remove __future__ imports and adjust stylechecks
TN: T511-017
2020-05-26 12:33:48 +02:00
Pierre-Marie de Rodat
cc3f03ce60 Tutorial: add instructions to setenv the generated library 2020-03-25 18:14:27 +01:00