| 1 | Data Languages
|
| 2 | ==============
|
| 3 |
|
| 4 | This directory has implementations of data languages that can and should be
|
| 5 | reimplemented outside Oils.
|
| 6 |
|
| 7 | ## J8 Notation
|
| 8 |
|
| 9 | See `doc/j8-notation.md` for details.
|
| 10 |
|
| 11 | Pure C code, which can be used by CPython and Oils C++:
|
| 12 |
|
| 13 | j8.h
|
| 14 |
|
| 15 | Shared test code:
|
| 16 |
|
| 17 | j8_test_lib.{h,c}
|
| 18 |
|
| 19 | C library used by CPython, using `malloc() realloc()`:
|
| 20 |
|
| 21 | j8_libc.{h,c} j8_libc_test.c
|
| 22 |
|
| 23 | Parser and printer in Python, translated by mycpp:
|
| 24 |
|
| 25 | j8.py
|
| 26 | pyj8.py # function that can be optimized in C++
|
| 27 | j8_lite.py # string-only functions, used by ASDL runtime
|
| 28 | # so it must have few dependencies
|
| 29 |
|
| 30 | ## UTF-8
|
| 31 |
|
| 32 | Tests for different implementations:
|
| 33 |
|
| 34 | utf8_test.cc
|
| 35 |
|
| 36 | ## Packle
|
| 37 |
|
| 38 | TODO
|