henryluo
Joined 15 years ago
Karma
293
Submissions
106
Member since
Dec 9
Creator of Mark Notation
https://mark.js.org
View on Hacker NewsJoined 15 years ago
And the language, Lambda, that I designed and implemented has many similar characteristics: https://github.com/henry-luo/lambda
As for the performance, I'm standing on the shoulder of great tools like MIR JIT compiler.
Option 2 looks cleaner for configuration kind of usage. However, Mark is designed to be embedded in a scripting language, and used beyond just configuration files. Unless the scripting language uses indentation as delimiter, like Python, option 2 will not work.
Personally, I prefer C/Java/JS family of languages that has insignificant whitespace. So Mark is designed to use explicit delimiters '<' and '>' to enclose an element.
Hope that explains one of the most important syntax designs of Mark.