JSE - Jay's Scripting Engine

Started by Pakz, May 09, 2021, 00:06:38

Previous topic - Next topic

Baggey

Quote from: therevills on February 18, 2024, 00:11:15I found JSE great to just bash proof of concepts code pieces together and get feedback on it with fellow devs :)

For example I needed help with parent child rotations:

https://gotojse.com/5kDsQlXH.BAS

I have to say it has a rather nice syntax to it. Shame its not compiled?
Running a PC that just Aint fast enough!? i7 Quad core 24GB ram 1TB SSD and NVIDIA Quadro K620 . DID Technology stop! Or have we been assimulated!

ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!

Jayenkai

It's not a shame, unless you want something that compiles.
This isn't something that compiles.

It also doesn't load external files.
It doesn't have a very good/feature complete image editing/loading/displaying command set, opting instead for strings of "Symbols" of up to 32x32 pixels, and a limited colour palette.
It can't load sounds or music files, opting instead for a limited internal sound library, and a version of JMTrackr to handle randomised music via strings.
It doesn't do tilemaps, or rather, it kinda does but not in a fully featured way that lets you edit them in a "normal" way.

There's a LOT of issues with it, mostly due to either the self-imposed "everything should exist within a copy+paste-able chunk of code" limit that I made at the start of the project, or due to the limits that having everything exist inside the browser brings, with different browsers imposing different sets of security limits on what it can and can't do.

By the point you've realised the limits of the engine, you should probably also realise why I've never bothered to compile the language.  It simply wouldn't benefit things "enough".  There's FAR bigger issues with the language than it not having a compile button.

It just can't handle everything you might need from something more feature complete.
That's its limit.
That's also its usefulness.

WeeEeeEeeEEeeEEeEEEeeeEe

If you "need" a compile button, you need to look at one of the many engines that has a compile button.
This isn't it.
"Load, Next List"

Pakz

The nvidia 4090 can do 100 tflops. I bet JSE would do well with such a card 8)

I did need to start optimizing my JSE code back on the M1 iPad with my Supercars remake project. In a couple of months I wil probably have the new ipad M3. There is a 58% increase in GPU there. These hardware performance increases make everything faster too.