LJS

Languages and libraries

programming language

SHOW HN2018

77points
30comments
#566of 2,155 in 2018
Top 27%of 2018 by points

How HN took it

MixedNo clear lean

2 positive, 4 neutral or asking, 1 mixed, 3 critical, out of 10 comments about the project. Thread score -0.10.

Design: 0 for, 2 againstDocs: 0 for, 1 againstIdea: 1 for, 0 againstExecution: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Transpilers are fun and the project is impactful as a next step

    From 1 comment
    • FYI, the link for https://github.com/mingodad/raptorjit-ljs is down. Congrats for the project, transpilers are great fun. An impactful project and a logical next step would be…
      jxub on HN
  • Interest in using it for embedded C projects

    From 1 comment
    • Thanks for sharing this.This is what I want use for embedded in C projects,the same syntax.
      alextooter on HN

Objections

  • Naming C/C++/Java/JavaScript syntax is confusing; it is really one JavaScript-like frontend

    From 1 comment
    • Saying C/C++/Java/JavaScript makes me think you've created 4 different syntax frontends for LuaJIT, when there is really only one here. It seems to me that you're really trying…
      coder543 on HN
  • JavaScript does not look like C/C++/Java

    From 1 comment
    • This looks like JS, and JS does not look like C/C++/Java
      sdinsn on HN
  • Still 1-based indexing, an obstacle for some users

    From 1 comment
    • It looks like it's still 1-based currently, is that right? 1-based arrays have been the biggest obstacle to me using Lua.
      mkl on HN
  • Learning curve and small community may hinder adoption

    From 1 comment
    • Hello Andreas ! It's an interesting approach for jit, I did looked at your link and one of the reasons to reshape Lua with a C/C++/Java/Javascript syntax was code reuse and…
      mingodad on HN

Requests

  • Add class, switch, and const declarations

    From 1 comment
    • Maybe also properly separated list/array, map/dict and set types? The I-am-everything-{} type in lua is a bit unergonomic when you want to use it as only such a type and a…
      zeotroph on HN
  • Use 0-based arrays

    From 1 comment
    • It looks like it's still 1-based currently, is that right? 1-based arrays have been the biggest obstacle to me using Lua.
      mkl on HN
  • Separate list, map and set types

    From 1 comment
    • Maybe also properly separated list/array, map/dict and set types? The I-am-everything-{} type in lua is a bit unergonomic when you want to use it as only such a type and a…
      zeotroph on HN
  • Add limited TypeScript-style transpilation

    From 1 comment
    • Have you considered a limited form of typescript transpilation?
      cordite on HN

Questions

  • Why modify the runtime instead of transpiling to stock Lua

    From 1 comment
    • I only poked into the source code on github a bit, so I might be entirely wrong, but from what I understand, the original Lua runtimes (stock Lua, Luajit, etc) were modified for…
      dividuum on HN
  • Who maintains LuaJIT now

    From 1 comment
  • Can 5.3 Lua projects coexist with .ljs files

    From 1 comment
    • Maybe also properly separated list/array, map/dict and set types? The I-am-everything-{} type in lua is a bit unergonomic when you want to use it as only such a type and a…
      zeotroph on HN

Alternatives named

  • Moonshine / Moonscript style Lua to JS or Lua transpilers

    From 2 comments
    • FYI, the link for https://github.com/mingodad/raptorjit-ljs is down. Congrats for the project, transpilers are great fun. An impactful project and a logical next step would be…
      jxub on HN
    • I only poked into the source code on github a bit, so I might be entirely wrong, but from what I understand, the original Lua runtimes (stock Lua, Luajit, etc) were modified for…
      dividuum on HN
  • RaptorJIT, a LuaJIT fork

    From 1 comment
    • There’s also an active fork of LuaJIT called RaptorJIT that’s oriented towards building whole applications rather than embedding.
      lukego on HN
  • Squirrel and Lemon languages

    From 1 comment
    • For some reason, it reminds me of Squirrel language[1] and Lemon language[2]. ``` [1] http://www.squirrel-lang.org/ [2] http://www.lemon-lang.org/ ```
      stephen82 on HN
  • Lily language

    From 1 comment
    • Author here if you have any question. Also if you have done any enhancement to Lua/LuaJIT and want help or talk about it I'm glad to hear from you. There is an parser/transpiler…
      mingodad on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/18790255)