quickjspp
xhp-js
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
quickjspp
-
LuaX: A Lua Dialect with JSX
JSX is useful not just for advanced string interpolation but for representing/generation of tree alike structures / literals in PL. JSX is not only about HTML but XML too.
I don't know how JSX is made in LuaX but in my QuickJS fork [1] JSX allows to generate as tree literals as procedure calls (JSX(tag,props,kids)) that can be used for various purposes - DOM population, VDOM generation, HTML/XML string composition, etc.
And being embedded into a compiler JSX a) prevents common mistakes like non-closed tags and b) effective internalization ( translation happens at compile time once ).
[1] JSX implementation for QuickJS : https://gitlab.com/c-smile/quickjspp/-/blob/master/quickjs-j...
-
JavaScript import maps are now supported cross-browser
In Sciter I did just that - JSX is an integral part of JS compiler - patched version of QuickJS : https://gitlab.com/c-smile/quickjspp/-/blob/master/quickjs-j...
So in Sciter this works out of the box:
-
The miracle of Smalltalk’s become: (2009)
Only when code tries to access props/methods of the loaded object it gets fetched from disk, its __proto__ is set to particular class, etc.
More on this architecture: https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/d...
Patched QuickJS with storage support is here: https://gitlab.com/c-smile/quickjspp - it uses DyBase of Konstantin Knizhnik as a storage.
xhp-js
-
LuaX: A Lua Dialect with JSX
They also made XHP-JS, though it seems inactive.
https://engineering.fb.com/2015/07/09/open-source/announcing...
https://github.com/hhvm/xhp-js
-
Ask HN: State of PHP at Facebook
There is: it's called XHP (https://docs.hhvm.com/hack/XHP/introduction).
That said, I'm not sure how you'd go about server-side rendering React from Hacklang, as it seems that the open-source solution to do so is no longer supported (https://github.com/hhvm/xhp-js).
What are some alternatives?
compression-dictionary-transport
hack-codegen - Library to programatically generate Hack code and write it to signed files
sciter-js-sdk
fbshipit - Copy commits between repositories · git → git, git → hg, hg → hg, or hg → git
webappsec-subresource-integrity - WebAppSec Subresource Integrity
OCRJS - Extracting characters from image using tesseract.js (OCR) Javascript .
download-esm - Download ESM modules from npm and jsdelivr
xhp-lib - Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions.
esbuild - An extremely fast bundler for the web
Boston-PHP-Meetup-Examples - Boston PHP Meetup examples
JSLint - JSLint, The JavaScript Code Quality and Coverage Tool
HHVM - A virtual machine for executing programs written in Hack.