collagraph
fengari
collagraph | fengari | |
---|---|---|
3 | 24 | |
28 | 1,765 | |
- | 0.8% | |
4.7 | 0.0 | |
4 days ago | about 1 year ago | |
Python | JavaScript | |
MIT License | MIT License |
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.
collagraph
-
It's React, but in Python
Shameless plug for a similar project called Collagraph (https://github.com/fork-tongue/collagraph).
From the README: Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
-
Rux: A JSX-inspired way to render view components in Ruby
You could implement a HTML renderer with Collagraph (https://github.com/fork-tongue/collagraph).
From the README:
-
PyScript
https://github.com/fork-tongue/collagraph/pull/66
From the project README:
Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
- Function components
- Class components with local state and life-cycle methods/hooks
-Single-file components with Vue-like syntax (.cgx files)
- Custom renderers (PySide, pygfx and now PyScript)
fengari
-
Lua: The Little Language That Could
it should be possible, the article mentions https://fengari.io/ (a Lua VM written in JavaScript)
-
OmG jAVaScRiPt InSeCuRe. LuA bETtEr.
Check out Fengari or Lapis. Fun fact: itch.io is written primarily in Lua, and started by the same person who made Lapis and MoonScript.
-
Lua is the fourth-fastest growing language on GitHub
I was real excited to see these recently... have you tried any? https://fengari.io/ is the one I was most intrigued by.
-
How to embed lua in a JS webapp?
Hello, there is also fengari: https://fengari.io/
-
PyScript
Other languages have done that :)
Lua in the browser: https://fengari.io/
And then you can use that to run Fennel, a Lisp that compiles to Lua https://fennel-lang.org/
I think TypeScript also has a script you can include that lets you put your TS code in a special script tag, and it gets compiled in-browser.
-
Intro to PyScript: Run Python in your web browser
just use lua, it’s what should have been used for web scripting anyways
-
Upcoming interview with Roberto Ierusalimschy
Please stop this stuck in the mud nonsense. Anyone stumbling upon lua.org might think the project is dead already. The material is great, close to the best, but its presentation is pure shite. Not mobile friendly (what kinds of device do you think the majority of people in the Global South use?). We live in a world of code highlighting, none of that in PiL. We live in a world where Fengari allows Lua to run in the browser, does that make an appearance on lua.org, allowing users to immediately play with the language? Of course not! It's almost as if the Lua team is trying to push away potential users.
-
A First Look at PyScript: Python in the Web Browser – Real Python
why not use lua
-
I really like to think of PyScript as the “Minecraft of software development”
Just use lua https://fengari.io/
-
What can I create with Lua?
Definitely the most surprising use-case for Lua that I've seen is http://lua.space/webdev/why-we-rewrote-lua-in-js which discusses https://fengari.io/.
What are some alternatives?
ComponentKit - A React-inspired view framework for iOS.
pypyjs - PyPy compiled to JavaScript
hypertext - Hypertext authoring with Ruby
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
rux - A jsx-inspired way to render view components in Ruby.
emscripten - Emscripten: An LLVM-to-WebAssembly Compiler
elementary - Not Another Templating Language
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
tagstr - This repo contains an issue tracker, examples, and early work related to PEP 999: Tag Strings
wasm-libxml2 - A quick experiment to build and run libxml2 as a WebAssembly module.
geodesy
lua-cmake - Embed lua with CMake