Files
langkit/contrib/python
Pierre-Marie de Rodat f233d6482c dsl_unparse: fix handling of backslashes in patterns
Unparsing patterns must escape backslashes themselves ('\\' to encode
'\').
2024-03-21 09:25:36 +00:00
..

Python parser

This is a Python parser written on top of Langkit. It is meant as a full example of what can be done with Langkit in terms of parsing, besides Libadalang itself.

Build

$ ./manage.py make

Parse python

build/bin/parse -f my_python_file.py