uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.62k stars 117 forks source link

Make more things public #599

Closed ekgame closed 1 month ago

ekgame commented 1 month ago

This change exposes a couple of struct fields for the public API. These are the fields I currently found useful for inspecting parsed code structure to reinterpret the code in a format that could be consumed outside Rust (with the goal to create a documentation generator).

The two fields are:

kaikalii commented 1 month ago

Function signature is private so that it cannot be changed. Use the getter.

kaikalii commented 1 month ago

Actually maybe it's fine.