TypeScript to Lua Transpiler

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • TypeScriptToLua

    Typescript to lua transpiler. https://typescripttolua.github.io/

  • love

    LÖVE is an awesome 2D game framework for Lua.

  • I enjoy using https://love2d.org/ to make small games but I often hit a point where the codebase gets complex enough that I find myself wanting things like types and fancier editor features than any IDEs/editor plugins for Lua provide.

    Biggest pain point was always having to check what properties exist on a given object. I love that Lua gives you enough power to add a prototype/object system at runtime but this means IDEs need to understand what you're doing to figure out what you want. You can do some metatable magic to error upon accessing undefined variables/properties but that's only doing anything at runtime.

    On my current hobby project I decided to try out various typed versions of Lua and TypeScriptToLua is what stuck.

    It was really cool being able to port my code over file by file, replacing weird custom lua objects with typescript classes (with a factory wrapper for unported Lua to use to instantiate an instance) and everything just smoothly working every step of the way. Now I get much more powerful linting and editing since I get to use the tooling people use for actual typescript.

    I was worried the generated code would become unreadable but to my surprise it's not at all bad. I haven't done much benchmarking but also haven't noticed any performance impact. Whatever performance hit there is is more than worth it for the confidence the typechecker gives me in areas that are difficult to write tests for.

  • 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
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

  • Show HN: A variant of Conway's Game of Life in color you can run on your phone

    1 project | news.ycombinator.com | 13 Jan 2024
  • Gearing up for Lua

    3 projects | dev.to | 1 Jan 2024
  • Original Sling'n'shoot Worms Game

    4 projects | news.ycombinator.com | 28 Dec 2023
  • How Do I Compile/Install Love 0.10.2 on Linux?

    2 projects | /r/love2d | 7 Dec 2023
  • LÖVE: a framework to make 2D games in Lua

    1 project | /r/patient_hackernews | 14 Sep 2023