egordorichev / neko8

Fantasy console inspired by pico8, tic80 and liko12, written in c++
https://egordorichev.itch.io/neko8
112 stars 11 forks source link

Implement a script language similar to Python/QBasic #30

Open LordStephen77 opened 7 years ago

LordStephen77 commented 7 years ago

Neko8 is very nice but I can not use it because it uses asm?!? is a tool for hobbyists, passionate and nostalgic, asm is out of measure for a human being. I've been hobbies for many years, but I think it's a good idea to implement a scripting language that is very simple, everyone's reach. Especially trying to simplify the APIs, PICO-8, TIC-80 and LIKO-12 have a big defect... they use LUA as a script language, and it is not the best choice in my opinion. Python is perfect! it would be nice to implement it similarly to Godot Game Engine's GDScript, a middle ground between Python and the old QuickBasic makes Neko8 perfect and increases the spread of the project. Many people want to use these PICO-8 Like Fantasy Consoles, but they give up because of the complexity and lack of proper tutorials and documentation.

Neko8 implements the documentation inside it, this is a nice feature.

Your work is extraordinary, you can make Neko8 the absolute reference for fans, students and all those people who want to learn calmly, and make a project in no time without frustration.

Thanks for your nice job.

incinirate commented 7 years ago

Actually to my knowledge, neko8 implements Lua, with ASM being interpreted within Lua.

LordStephen77 commented 7 years ago

@incinirate I compiled the source 1 hour ago, i tested helloword_asm. Now I try to do something and see how she uses LUA.

Thank you for your response, I really hope that my idea is taken into account. The project has great potential, a language like Python is much easier and recalls the 80's ;)

Rami-Sabbagh commented 7 years ago

Let's start a Lua vs Python war: Hey, LuaJIT is a lot better than Python, a code file would take 100 light years to compile, while LuaJIT compiles the code in 0.0001 seconds.

egordorichev commented 7 years ago

Yup, neko8 supports lua as main scripting language, moonscript, asm and BASIC. To switch between them use new 'lang'. new defaults to lua, new asm creates asm cart.

Thank you for your feedback ;) We are porting neko8 to c++ at the moment, so the lua branch is not being developed anymore.

egordorichev commented 7 years ago

And you should use lua build for now ;) https://github.com/egordorichev/neko8/blob/master/Game%20Jam%20Special%20Edition/GJSE.love

To run it, you will need love2d. Run it with:

love ./GJSE.love
pi-pi3 commented 7 years ago

Hi there, I'm the developer of asm.lua. asm.lua isn't being supported anymore. It was a quick experiment that is now in stagnation and it won't be supported in neko8 anymore. Lua remains the default in neko. But there have been ideas of implementing other scripting languages, like JavaScript and a BASIC. If anyone is willing to implement Python, it shouldn't be too hard, now that a C++ port is being worked on

egordorichev commented 7 years ago

@pi-pi3 did not you want to keep it? It is awesome, yet simple. Porting it to c++ (or implementing lua sandbox for it) shouldn't be hard. As we all know, I'm working on a few jams at the moment, that's why I did not make a single commit in the last few weeks. But the project is NOT dead.

pi-pi3 commented 7 years ago

I'm fine with you working on it, but I won't be anymore

egordorichev commented 7 years ago

Ok, that's fine ;)

LordStephen77 commented 7 years ago

@RamiLego4Game Liko-12 is very cool <3 the font changes because the standard one can read only an alien with 12 eyes :D

Thanks for the gentle response guys. The new C ++ port is a nice idea, I guess I can see new features and improved performance in the future. Thanks for your great work.