Hacker News new | ask | show | jobs
by veli_joza 2798 days ago
I'm surprised you feel that way. Lua seems like a perfect choice for pico-8. Its syntax is friendly and concise, and it's maybe simplest language to embed, with tiny footprint. Almost all other languages I know of would be a worse choice. Scratch would be nice, but graphical editor is harder to integrate. What's more suitable language in your opinion?
2 comments

Well it's only because of the issue with the built-in editor, since lua isn't really that concise in terms of character count imo. Also the official tutorial is a published book which I find a little distasteful although understandable. You are right though I can't really think of a better language to use
You can attach an external editor if you want, though I think it is not needed for learning. There is more value in the tight integration than the conveniences of a great text editor.

I've used this Sublime Text Package which works well:

https://packagecontrol.io/packages/PICO-8

The great thing about Lua is the language itself is so small, and not just from an implementation perspective. The spec and documentation are also small because there's not much to learn.

You can explain it in an afternoon. Try that with C++ or JavaScript.

It's also fast and it can be made to run in deterministic time. Plus the C API is something I can actually read and understand, which is true of none of the other scripting languages I've used(Python, Perl, et. al.).