Skip to content

Project status and syntax extensions #6

@Jipok

Description

@Jipok

I must say I'm truly impressed by the depth of the implementation, especially the flow analysis, mutation tracking, and other advertised features. I tried to study the code, but it's too dense to quickly assess.

I'm contacting you because I'm currently developing a GUI framework for Lua (based on LuaJIT). It's about 90% complete, but I'm seriously considering refactoring it to use NattLua to take advantage of static typing and improved tooling.

Before I commit to this migration, I have a few questions about the project's future:

  1. What is the current state of NattLua? The advertised features are interesting, but are they all actually implemented? I saw comments in the code that were clearly written by LLM. Not that I'm against llm, but didn't the readme also written by llm?

  2. Can this project be used to implement something? Or are there scenarios where the parser or another component fails, and I'm stuck. I'm not afraid of future syntax changes and the requirement to rewrite code for new versions; I'm afraid of the possibility of being stuck with basically unworkable code written by llm.

  3. Since NattLua is already transpiled to Lua, what's your position on adding "syntactic sugar" that isn't in standard Lua? In particular, I'm interested in a shortened lambda expression syntax (e.g., fn(a, b) return a + b end or similar), which would significantly simplify declarative GUI code. Is the parser extensible enough for this, or are you striving for strict syntax compatibility with Lua standards?

  4. What do you think about https://github.com/thenumbernine/langfix-lua?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions