:crescent_moon: A language that compiles to Lua (by leafo)

Moonscript Alternatives

Similar projects and alternatives to moonscript

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better moonscript alternative or higher similarity.

moonscript reviews and mentions

Posts with mentions or reviews of moonscript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Best Websites For Coders
    51 projects | | 25 Jan 2023
    A programmer-friendly language that compiles to Lua.
  • data types in function definition
    12 projects | | 13 Jan 2023
  • A MiniTron In 47 Lines
    2 projects | | 11 Jan 2023
    This is a sample code for learning, written in Moonscript for TIC-80:
  • They hated him because he told the truth
    5 projects | | 29 Nov 2022
    MoonScript (a CoffeeScript-like classful dialect of Lua):
  • Lua, a Misunderstood Language
    9 projects | | 29 Sep 2022
    I highly recommend if you're interested in Lua checking out a few of my favorite Lua projects...

    1. [Moonscript]( the compile-to-lua language powering, it's amazingly pleasant to work with and I was amazed porting a JavaScript tool to Moonscript that the moon version was more readable despite my lack of familiarity with the language.

  • What do you think about MoonScript?
    3 projects | | 15 Jul 2022
    Unless Luathonistas have no better way of accomplishing the same thing, or if Moonscript just compiles to bad Lua, the examples ( seem compelling - Moonscript's definitely a great deal more readable than Lua. If typical Lua code is really that unreadable, no wonder it's niche. Moonscript's colons and => seem a little confusing and quirky. But if Moonscript can be zero-indexed, I'm sold
  • Redbean 2.0 Release Notes
    15 projects | | 16 Jun 2022
  • How Do I Create A programming Language In Lua?
    5 projects | | 5 May 2022
    I recommend starting with moonscript, which is a language that is made in lua, and “compiles” to lua. Modify the crap out of it until you get what you want.
  • SNOWBOL -- Need your opinion on a future project I'm planning on building. Would you use a language which is basically just COBOL but with simplified syntax?
    2 projects | | 23 Apr 2022
    I think it would make a lot more sense to make a language with similar semantics to COBOL, but modernized syntax. Instead of Typescript, a better model might be Coffeescript or Moonscript, which have a nearly 1:1 semantic mapping with their target language, but offer a more ergonomic and less verbose syntax. I haven't worked with COBOL at all, but I think the verbose syntax is probably one of the most offputting parts of the language. Stuff like move 1 to fact or multiply num by fact is tedious to type and read compared to fact = 1 or num *= fact. It's similar to how a mathematician would write equations like "z = x1.5 + y" instead of "z is equal to the sum of x raised to the power of 1.5 and y". The shorter form is not only quicker to write, but also easier to understand once you're familiar with the notational conventions.
  • LuaJIT for backend?
    6 projects | | 2 Jan 2022
    I did this with my programming language Nomsu. I took a lot of inspiration from Moonscript. Using lua/luajit as a backend was the right choice for my project because I was using LPEG for parsing and I wanted to interoperate with lapis (a Lua web framework). I think overall, I do not regret my choice to use lua as a backend. It worked pretty well for me. However, I wouldn't recommend it if you're making a strongly typed language (because you'd miss out on some potential performance optimizations), but for a dynamically typed language, it's a good option. One thing that was really handy was Lua's goto, which made it easy to do custom control flow (e.g. break out of nested loops).
  • A note from our sponsor - #<SponsorshipServiceOld:0x00007fea594d29e8> | 28 Jan 2023
    SaaSHub helps you find the best software and product alternatives Learn more →


Basic moonscript repo stats
3 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives