tokay-lang / tokay

Tokay is a programming language designed for ad-hoc parsing, inspired by awk.
https://tokay.dev
MIT License
239 stars 7 forks source link

Establishing generic parselets and functions #105

Closed phorward closed 11 months ago

phorward commented 1 year ago

About

This PR is intended to coordinate generic parselets & functions in Tokay as established in #10.

To- do

phorward commented 11 months ago

This pull request is now ready to be merged.

I'm a little unhappy with the current ImlValue implementation, but this is the only way to adequately solve the problem at the moment. Anyway, this should be done better or differently, and I'm sure it will.

All that's missing now is some documentation to describe the new features.

By implementing build-ins with the help of Tokay itself, #120 will be another big milestone to significantly reduce the size of the generated code and thus make Tokay much more performant again like the previous solution. However, this step here has to be to raise Tokay to another level.