10 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
ca751250b4 Introduce the lkt_build_and_run test driver
Transition all relevant testcases to it. In the process, port
docstrings/comments from test.py files to expected_concrete_syntax.lkt
(now test.lkt) sources and fix stylechecks issues there.

(cherry picked from commit e1c4fe5804)
2024-11-28 15:40:33 +00:00
Pierre-Marie de Rodat
68e87c2cb0 python_api/app: fix testcase for Python <3.9
(cherry picked from commit df84be5d5d)
2024-11-28 09:20:31 +00:00
Pierre-Marie de Rodat
3bf2f2c86f Modernize type annotations
(cherry picked from commit 54a7dd3a6c)
2024-11-28 09:20:31 +00:00
Romain Beguet
05362a5e93 Improve style and fix formatting issues in dsl_unparse. 2024-07-03 08:23:35 +00:00
Pierre-Marie de Rodat
f75832df8a langkit.dsl_unparse: minor style tweaks 2023-12-13 13:55:06 +00:00
Pierre-Marie de Rodat
cf404171ea Python App: add parsing errors handling for requested units
By default, make App instances print parsing errors for all requested
units on the standard output, and let subclasses override this behavior
if needed.

Also extend the Python playground so that parsing errors fit nicely into
the prompt header.
2023-07-25 19:03:32 +00:00
Pierre-Marie de Rodat
b298a62b39 python_api/app: fix propagation of path_wrapper to subprocesses
TN: VA12-016
2022-12-05 16:13:40 +00:00
Pierre-Marie de Rodat
52297d3c8c Python API: allow App subclasses to associate event handlers to contexts
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
dc16344d15 python_api/app: refactor testcase
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
5c9eea0853 python_api/python_app: rename to python_api/app
TN: VA12-016
2022-11-23 12:37:21 +00:00