henryluo

Joined 15 years ago

Karma
293
Submissions
106
Member since
Dec 9
Creator of Mark Notation https://mark.js.org
View on Hacker News

Recent submissions

Comment · 1 month ago
Thanks for your prophecy :-)
Comment · 1 month ago
LambdaJS engine is quite complete on JS features, but performance wise, it is only about the same as Quick JS, much slower than Node/V8.
Comment · 1 month ago
Author of Lambda script here. Your feedback welcome!
Comment · 7 months ago
Yes, I thought of this issue when I name it Lambda. But I like the name 'Lambda'. Once get over the initial stage, Lambda will be easy for people to remember.
Comment · 7 months ago
Comment · 7 months ago
thanks.

As for the performance, I'm standing on the shoulder of great tools like MIR JIT compiler.

Comment · 7 months ago
Lambda's PDF support is still very limited at moment. I do plan to enhance it in next release.
Comment · 7 months ago
Glad to hear that. Note that the language is still being developed, and there're bugs here and there. So bear with those bugs. But it should be fun to try it out.
Comment · 7 months ago
Hope it will change the way people work with data and documents.
Comment · 7 months ago
While Lambda still has a pretty static GUI at the moment. My plan is to build it into a fully interactive, editable UI on all kinds of document data.
Comment · 1 year ago
As for the '<' and '>' to open and close an element, there are two potential kinds of syntax design. Option 1 is to use some explicit delimiters. Mark 1.0 has settled on '<' and '>'. Mark 0.11 was using '{' and '}', which I felt confusing with map. So I changed to '<' and '>', to make it consistent with HTML/JSX and XML, which most developers are already used to. Option 2 is to use indentation to delimit the enclosed child content, like in Python and YAML.

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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton