Nelua, AOT statically typed Lua

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nelua-lang

    Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.

  • One under-advertised feature of the language is that it supports WASM: https://github.com/edubart/nelua-lang/discussions/11

    It’s been used successfully to make games for virtual game consoles like wasm4 and GamerCade.

  • terra

    Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.

  • Wow, amazing stuff. I love Lua, it was how I learned programming as a kid. Coincidently from the same world as the author. Open Tibia.

    The author made a custom client (https://github.com/edubart/otclient) for the game that is still very much in active use by thousands of players. He's a very skilled developer.

    Great to see AOT typed Lua, I know of the other solutions: Luau, Teal, TypeScriptToLua, Terra, etc., but this one is my favorite so far.

    Love the simple compilation to C (and WASM support via Emscripten). Though Terra's JIT is enticing and good replacement for LuaJIT, this is for embedded systems, it's a good replacement for Lua PUC-Rio.

    The World:

    - https://luau-lang.org/

    - https://terralang.org/

    - https://github.com/teal-language/tl

    - https://typescripttolua.github.io/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • tl

    The compiler for Teal, a typed dialect of Lua

  • Wow, amazing stuff. I love Lua, it was how I learned programming as a kid. Coincidently from the same world as the author. Open Tibia.

    The author made a custom client (https://github.com/edubart/otclient) for the game that is still very much in active use by thousands of players. He's a very skilled developer.

    Great to see AOT typed Lua, I know of the other solutions: Luau, Teal, TypeScriptToLua, Terra, etc., but this one is my favorite so far.

    Love the simple compilation to C (and WASM support via Emscripten). Though Terra's JIT is enticing and good replacement for LuaJIT, this is for embedded systems, it's a good replacement for Lua PUC-Rio.

    The World:

    - https://luau-lang.org/

    - https://terralang.org/

    - https://github.com/teal-language/tl

    - https://typescripttolua.github.io/

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • IntelliJ-Luanalysis

    Type-safe Lua IDE — IntelliJ IDEA plugin

  • I want to start adding support for Lua derivatives to my IDE (which adds static type checking to Lua - inference, structural & nominal types, generics etc. (Luanalysis - https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/)

    I feel like plugin support would be best but I've no idea how that's supposed to work in the presence of a predefined grammar. There's also so many variants I don't think there's a good way to build composite grammar.

    Does anyone have any ideas about how to extend language parsing? For reference, I'm using https://github.com/JetBrains/Grammar-Kit.

  • Grammar-Kit

    Grammar files support & parser/PSI generation for IntelliJ IDEA

  • I want to start adding support for Lua derivatives to my IDE (which adds static type checking to Lua - inference, structural & nominal types, generics etc. (Luanalysis - https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/)

    I feel like plugin support would be best but I've no idea how that's supposed to work in the presence of a predefined grammar. There's also so many variants I don't think there's a good way to build composite grammar.

    Does anyone have any ideas about how to extend language parsing? For reference, I'm using https://github.com/JetBrains/Grammar-Kit.

  • otclient

    An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize

  • Wow, amazing stuff. I love Lua, it was how I learned programming as a kid. Coincidently from the same world as the author. Open Tibia.

    The author made a custom client (https://github.com/edubart/otclient) for the game that is still very much in active use by thousands of players. He's a very skilled developer.

    Great to see AOT typed Lua, I know of the other solutions: Luau, Teal, TypeScriptToLua, Terra, etc., but this one is my favorite so far.

    Love the simple compilation to C (and WASM support via Emscripten). Though Terra's JIT is enticing and good replacement for LuaJIT, this is for embedded systems, it's a good replacement for Lua PUC-Rio.

    The World:

    - https://luau-lang.org/

    - https://terralang.org/

    - https://github.com/teal-language/tl

    - https://typescripttolua.github.io/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • luau

    A fast, small, safe, gradually typed embeddable scripting language derived from Lua

  • Wow, amazing stuff. I love Lua, it was how I learned programming as a kid. Coincidently from the same world as the author. Open Tibia.

    The author made a custom client (https://github.com/edubart/otclient) for the game that is still very much in active use by thousands of players. He's a very skilled developer.

    Great to see AOT typed Lua, I know of the other solutions: Luau, Teal, TypeScriptToLua, Terra, etc., but this one is my favorite so far.

    Love the simple compilation to C (and WASM support via Emscripten). Though Terra's JIT is enticing and good replacement for LuaJIT, this is for embedded systems, it's a good replacement for Lua PUC-Rio.

    The World:

    - https://luau-lang.org/

    - https://terralang.org/

    - https://github.com/teal-language/tl

    - https://typescripttolua.github.io/

  • crystal

    The Crystal Programming Language

  • You can define string enum type with a macro.

    https://github.com/crystal-lang/crystal/issues/10281#issueco...

  • pallene

    Pallene Compiler

  • That was somewhat of an entertaining read.

    > Terra is C if you replaced the preprocessor with Lua.

    This is what is written on the tin.

    PUC made there own version of Terra

    Pallene http://www.inf.puc-rio.br/~roberto/docs/Gualandi-2020-SCP.pd...

    https://github.com/pallene-lang/pallene

    https://www.youtube.com/watch?v=H3inzGGFefg

    This is a good writeup on all the Alt-Luas https://injuly.in/blog/gsoc/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts