This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Erez Sh 155f4a8c0f Examples: Tiny fix pirms 3 gadiem
..
README.md Examples: Moved example into 'composition' folder, and improved it pirms 3 gadiem
combined_csv_and_json.txt Examples: Moved example into 'composition' folder, and improved it pirms 3 gadiem
csv.lark Examples: Moved example into 'composition' folder, and improved it pirms 3 gadiem
eval_csv.py Docs: Add merge_transformer; fix docstrings for sphinx pirms 3 gadiem
eval_json.py Docs: Add merge_transformer; fix docstrings for sphinx pirms 3 gadiem
json.lark Examples: Moved example into 'composition' folder, and improved it pirms 3 gadiem
main.py Examples: Tiny fix pirms 3 gadiem
storage.lark Examples: Tiny fix pirms 3 gadiem

README.md

Grammar Composition

This example shows how to do grammar composition in Lark, by creating a new file format that allows both CSV and JSON to co-exist.

We show how, by using namespaces, Lark grammars and their transformers can be fully reused - they don’t need to care if their grammar is used directly, or being imported, or who is doing the importing.

See main.py for more details.