fengari-web
fengari
fengari-web | fengari | |
---|---|---|
3 | 24 | |
227 | 1,765 | |
0.0% | 0.8% | |
1.8 | 0.0 | |
almost 3 years ago | about 1 year ago | |
JavaScript | 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.
fengari-web
-
Need help with Pattern checking
local text="Jon Cooper loves [global variables](https://www.techopedia.com/definition/25617/global-variable) but they're badder than bad. Fengari allows lua to be used as a web-scripting language *i.e.* we can use lua instead of javascript (JS) to control the behaviour of our web pages and we have access to all of the available JS libraries. To run fengari, you need to download the file *fengari_web.js* from the src folder [here](https://github.com/fengari-lua/fengari-web). Note that I have renamed it so that the **hyphen** in the original file name is replaced by an **underscore** to stop linux being confused, since the hyphen can be interpreted as a shell command option. It's probably best to use Chrome and in the drop-down settings menu go to *More Tools* and then *Developer Tools* where you can select the Chrome *Console*, which shows you any errors and printed output from the scripts. ### Example 1. Drawing and animation with the html canvas. Traditionally a job for JS *e.g.* as introduced [here](https://www.w3schools.com/html/html5_canvas.asp), we can achieve the same thing with lua and fengari."
- Fengari question
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?
love-typescript-definitions - Write LÖVE 2D projects with TypeScript
pypyjs - PyPy compiled to JavaScript
Love.js-Api-Player - Created as a binder between love.js and javascript, it is made to be able to call javascript functions from lua code
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
NodeMCU-Tool - :wrench: Upload + Manage Lua files on NodeMCU
emscripten - Emscripten: An LLVM-to-WebAssembly Compiler
Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
html5-boilerplate - A professional front-end template for building fast, robust, and adaptable web apps or sites.
wasm-libxml2 - A quick experiment to build and run libxml2 as a WebAssembly module.
lua-cmake - Embed lua with CMake
weird-wide-webring - The web needs a little more weird. These sites are helping. Apply to join!