Our great sponsors
-
Short answer: in https://github.com/jevko/easyjevko.js a thing like [ my text ] is converted to a JS string " my text " -- all whitespace is preserved.
-
Now if you take the simplest possible format built on Jevko, e.g. https://github.com/jevko/easyjevko.lua which specifies the conversion of jevkos to Lua tables and strings then an empty jevko is always converted to an empty string. Empty tables or nulls are simply prohibited in this format.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Now you can devise a more complex format which would specify what trees map to nulls or empty tables or what-have-you, or even use a complementary Jevko schema to disambiguate what an empty tree means, e.g. https://github.com/jevko/interjevko.js -- but that is a topic for another time.
-
Here is a toy language that uses Jevko as syntax that I've been hacking on a bit recently: https://github.com/jevko/jevkalk
Related posts
- Jevko: a minimal general-purpose syntax
- Nanoprintf – The smallest public printf implementation for its feature set
- Any way to use the Firewalla license from my device which was stolen?
- How do I confirm whether I have a memleak from metrics (heap allocs)?
- How to make a sub bass follow a bit from a mudpie?