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

Enforcing `void` value paradigm #82

Open phorward opened 2 years ago

phorward commented 2 years ago

Similar to JavaScript, Tokay has two atomics to define an empty value.

This concept is currently not enforced in Tokay. Here's an example:

There are several more, related methods currently available. General rules relating void:

phorward commented 2 years ago

80 entirely enforces this paradigm, setting an item to void removes it, a non-existing item produces void.