Shop OBEX P1 Docs P2 Docs Learn Events
Catalina - ANSI C and Lua for the Propeller 1 & 2 - Page 17 — Parallax Forums

Catalina - ANSI C and Lua for the Propeller 1 & 2

1111213141517»

Comments

  • RossHRossH Posts: 5,504
    edited 2025-01-10 07:28

    Something I've been meaning to do for a while ...

    The Lua compile command (luac) has a really annoying syntax, requiring you to constantly enter long-winded commands like luac -o xxx.lux xxx.lua - and you can't even have the Lua filename before the -o option or it spits the dummy.

    I was planning to rewrite it but decided to just add a clua wrapper instead. I just uploaded it to github, but for SourceForge users, it is also in the attached in zip file.

    Just put clua.lua on your Catalyst SD card (I put it in the bin directory) and now you can just say clua xxx (or try clua -? for help).

    Ross.

Sign In or Register to comment.