Bog – small, strongly typed, embeddable language

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tl

    The compiler for Teal, a typed dialect of Lua

    Terra and Nelua are both very different in goals than Teal. Teal is literally gradual types integrated into Lua keeping as many of Lua's idioms as possible (to a fault[1]). Terra and Nelua are both very metaprogrammable systems programming languages. Nelua's goals are primarily to soften C's rough edges, comparable to something like Nim.

    There's another one you missed in Pallene[2]. But again, it's goal was to optimize the stack sharing involved in using the C API. It also adds types though and maintains Lua idioms as much as possible.

    [1]: https://github.com/teal-language/tl/discussions/339

    [2]: https://github.com/pallene-lang/pallene

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • bog

    Small, strongly typed, embeddable language.

    Looking at the two of them, both awesome projects, not a competition but here are a few things I noticed. Cyber seems to have pretty good documentation (maybe Bog does too but I didn't find too much from the readme. For example, you can see Bog has a GC and its standard library supports JSON, but memory management and non-scalar data structures aren't mentioned in the Bog readme).

    Cyber also seems to be under more active development at the moment.

    https://github.com/vexu/bog/graphs/contributors

    https://github.com/fubark/cyber/graphs/contributors

  • cyber

    Fast and concurrent scripting.

    Looking at the two of them, both awesome projects, not a competition but here are a few things I noticed. Cyber seems to have pretty good documentation (maybe Bog does too but I didn't find too much from the readme. For example, you can see Bog has a GC and its standard library supports JSON, but memory management and non-scalar data structures aren't mentioned in the Bog readme).

    Cyber also seems to be under more active development at the moment.

    https://github.com/vexu/bog/graphs/contributors

    https://github.com/fubark/cyber/graphs/contributors

  • luau

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

  • nelua-lang

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

    - https://github.com/edubart/nelua-lang (to C)

  • terra

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

  • lua-language-server

    A language server that offers Lua language support - programmed in Lua

  • pallene

    Pallene Compiler

    Terra and Nelua are both very different in goals than Teal. Teal is literally gradual types integrated into Lua keeping as many of Lua's idioms as possible (to a fault[1]). Terra and Nelua are both very metaprogrammable systems programming languages. Nelua's goals are primarily to soften C's rough edges, comparable to something like Nim.

    There's another one you missed in Pallene[2]. But again, it's goal was to optimize the stack sharing involved in using the C API. It also adds types though and maintains Lua idioms as much as possible.

    [1]: https://github.com/teal-language/tl/discussions/339

    [2]: https://github.com/pallene-lang/pallene

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

  • Lua Criticism Is Unwarranted

    4 projects | news.ycombinator.com | 26 Oct 2023
  • Lua++: a new, type-based alternative for Lua.

    2 projects | /r/lua | 6 Mar 2023
  • [NEWBIE] Is there any way to enforce type checking in Lua.

    3 projects | /r/lua | 12 Aug 2022
  • Which scripting languages work well embedded with Rust?

    6 projects | /r/rust | 17 Jan 2022
  • Luau in neovim would be a sick combo

    2 projects | /r/neovim | 4 Nov 2021

Did you konow that Lua is
the 17th most popular programming language
based on number of metions?