coollang-2020-fs
nelua-lang
Our great sponsors
coollang-2020-fs | nelua-lang | |
---|---|---|
5 | 32 | |
37 | 1,852 | |
- | - | |
9.2 | 7.8 | |
3 months ago | 6 days ago | |
F# | Lua | |
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.
coollang-2020-fs
-
Course using F#: Write your own tiny programming system(s)
Looks interesting.
Once I saw it's a Czech university course using F#, I knew Tomáš Petříček would be the lecturer :)
A couple years back, I wrote a compiler of tiny-ish scala subset in F# (the code is imperative, though)[1]
[1]: https://github.com/mykolav/coollang-2020-fs
-
Compiler of a small Scala subset into x86-64 assembly, in F#
The repo is on github: https://github.com/mykolav/coollang-2020-fs
-
Compiling a small Scala subset into x86-64 assembly
Go to the project's repository to explore the source code.
- Compiling a small Scala subset into x86-64 asm
-
Compiler Class
You might find [CS 6120: Advanced Compilers: The Self-Guided Online Course][1] interesting. I'm slowly working through it, but basically its focus is intermediate representations, optimizations, etc. A link to the course was on the first page of HN some time ago.
Also -- and you knew it was coming -- I've written a [toy-compiler of a Scala subset][2] myself :)
I'm new to F# and writing compilers, so I'm sure the code is full of rookie mistakes. Still, it works and does generate assembly and executables for Linux and Windows.
[1]: https://www.cs.cornell.edu/courses/cs6120/2020fa/self-guided...
[2]: https://github.com/mykolav/coollang-2020-fs
nelua-lang
- Nelua: Statically typed language with a Lua flavor
- Buzz: A lightweight statically typed scripting language
-
Lua has been a real eye opener for this Java dev
If you Like Lua's syntax and you wish you could achieve C speeds and have the metaprogramming ability of Java (Generics), by all means try https://nelua.io/ , you won't regret it!
- Minimal, simple, efficient, statically typed, compiled, metaprogrammable, safe, and extensible systems programming language
-
Pixelhopper: Tiny animated GIF player in C, with seeking, pause, etc (Linux x11 only, for now)
I should be uploading the code sometime this week, by the way. I'm looking for a way to bundle the code (which is written in Nelua) in a single C file, so anyone can build it without having to install all of the language and the dependencies.
- Using Lua with C++
-
Is it possible to make an OS in Lua?
You could probably write a kernel in Nelua or Luau, though I don't know of any efforts to do so.
-
Bog – small, strongly typed, embeddable language
- https://github.com/edubart/nelua-lang (to C)
-
Nelua, AOT statically typed Lua
I already asked this question exactly 2 years ago: https://github.com/edubart/nelua-lang/discussions/51
What are some alternatives?
selfie - An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
shecc - A self-hosting and educational C optimizing compiler
LuaJIT - Mirror of the LuaJIT git repository
proc - Procedural Intel x86_64 compiler from scratch, inspired by Fortran, Pascal and Assembly.
moonscript - :crescent_moon: A language that compiles to Lua
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
godot-lua-pluginscript - Godot PluginScript for the Lua language, currently based on LuaJIT's FFI
jet - A Fast C and Python like Programming Language that puts the Developer first. WIP
red - Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single ~1MB file!
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
language-lua - Lua parser and pretty-printer