0 Members and 1 Guest are viewing this topic.
Seems interesting. Since HP PPL is fast I think an alternate language that compiles to it could be very feasible, although an interpreted language would probably run as slow as 83+ BASIC or so. Just make sure, however, that the compiled code doesn't end up totally bloated or unoptimized, though.
One thing I would suggest is offering certain pre-made routines for sprites or maps, for example, with a decompressor, so that people could use different image formats that are smaller than the built-in ones. The resulting code would simply decompress the images into a GROB upon runtime.
Hello,>smaller than ICON (Uncompressed PNG file? There has to be a better way). ICON is a compressed PNG... problem is that since it is in hex, it takes 2 bytes per nibble :-(
>For example, there's no simple function to get only a part of a listyes there is! L1({5,8}) will get you elements 5 to 8 of L1 in a list..>or to insert a list item in the middle of one. concat(L1({1,n}), { 1, 2, 3}, L1({n,1000}))
You can also pass around functions, but they need to be properly QUOTEd to make sure that they are not evaluated at the wrong time...Cyrille
You can also pass around functions, but they need to be properly QUOTEd to make sure that they are not evaluated at the wrong time...
EDIT: Today, I learned that a list can have a maximum of 2^31 entries! You learn something new every day.
Hi and nice to see you again.
As for the new name, just keep in mind it might confuse people if they post actual source code literally , but I like the idea. Btw do you plan to write a tutorial on how to code in Source when finished? It might be good to post about it here if that's the case, so more people see it.
btw is this still a language written in HP PPL or does it now use ASM/C through any HP Prime exploit?
Indeed. I am really curious about how this language will look like. Just make sure it's not overly cryptic like Antidisassemblage on the 84+. Ironically, that language was meant to bridge the gap between TI-BASIC and Z80 ASM, yet it required learning ASM in order to even understand why Squirrelbox works in certain ways, which defeated the entire point.
The only invented languages I know of that were successful are Axe and Nspire C++. I hope this will add another one to the list.
FUNC(a)BEGIN MSGBOX("call "+a);END;FUNC2()BEGIN LOCAL AA=1; LOCAL BB='FUNC(AA)'; EVAL(BB); AA:=2; EVAL(BB); AA:=3; RETURN BB;END;EXPORT TST2()BEGIN LOCAL XX=FUNC2(); LOCAL AA=4; EVAL(XX);END;