Author Topic: Jens' Script Editor - An on-calc lua editor  (Read 144653 times)

0 Members and 1 Guest are viewing this topic.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #15 on: July 13, 2013, 10:12:32 am »
I spent 1 morning now to set up the nspire_emu and nspire_emu_gtk, I got OS 2.x to work on the nspire_emu but that sais I must update to 3.x to open my skript editor (even without platform.apilevel='1.0') but when I try to run 3.x the nspire_emu sais "Invalid Image"... Either the nspire_emu_gtk doesn't extract 3.x images right or the nspire_emu is not able to run them...
Anyways, does everything in the update work as intended?
« Last Edit: July 13, 2013, 10:14:01 am by Jens_K »
Sorry for nonsense.

Projects:



Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #16 on: July 13, 2013, 10:23:34 am »
nspire_emu_gtk is fantastically outdated. The only proper emulator for the Nspire is nspire_emu 0.70 :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #17 on: July 13, 2013, 10:51:07 am »
Yes, I only used the gtk to extract boot2.img to boot2.raw but apparently that doesn't work anymore with 3.x
The recommended tool of TI-Planet "imgmanip" I can't use because I don't know how to C++  :-\

Sorry for nonsense.

Projects:



Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #18 on: July 13, 2013, 10:57:28 am »
Just use a recent version of GCC (g++) or Clang, passing a couple trivial defines on the command line to turn a couple Pascal-like keywords into their C++ equivalents :)
The source code is not provided in directly-usable form for obvious, though annoying and heart-breaking, legal reasons.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #19 on: July 13, 2013, 12:12:21 pm »
Yes, I only used the gtk to extract boot2.img to boot2.raw but apparently that doesn't work anymore with 3.x
The recommended tool of TI-Planet "imgmanip" I can't use because I don't know how to C++  :-\
You can also use polydumper in order to dump the boot2.raw from the calc.
« Last Edit: July 13, 2013, 12:12:50 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #20 on: July 14, 2013, 12:38:57 am »
I got a -1? Huh?
Either someone doesn't like what I said, about kArmTI maybe?
nspire_emu is the base original TI-nspire emulator by goplat, and most other versions are derived from nspire_emu
   as mentioned by others there are good tutorials on how to set up nspire_emu on tiplanet.org
As I said, kArmTI is nspire_emu with customisable skins, and a few other features by SpiroH, and it is updated to nspire_emu_070
nspire_emu_gtk by xspire is outdated, based on nspire_emu_0.2.6, which iirc doesn't support OS 3.0

That also reminds me I had the batch files from Levak, which allows easier running of nspire_emu and its functions, which I modified but I never got to finish.
« Last Edit: July 14, 2013, 03:09:26 am by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #21 on: July 14, 2013, 05:18:11 am »
Sorry, but I'm busy next 2 days... I'll do another try with the emulators then. I don't know why anyone would give a -1 to those posts so I gave +1 to make that up.
Sorry for nonsense.

Projects:



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: Jens' Skript Editor - a on-calc lua editor
« Reply #22 on: July 14, 2013, 12:19:56 pm »
Sorry, but I'm busy next 2 days... I'll do another try with the emulators then. I don't know why anyone would give a -1 to those posts so I gave +1 to make that up.
some people here despise the fact that KarmTI is closed source so much that they rate down every post that says anything positive about the emulator. I think staff threatened a ban before on such abuse of the rating system, but nothing has been done yet I think because due to the way ratings are stored in the database, it is impossible to know *when exactly* somebody in particular rated a certain post. It is possible that admins are just unaware of any suspicious activity, though, so I would suggest that you report the post then write in the reason that there might be rating abuse. Of course it could totally be a mistake as well (accidentally clicking the wrong icon).

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #23 on: July 14, 2013, 12:22:25 pm »
Downrating a post which contains anything positive about the noxious closed-source emulator (derived from an open-source emulator, at that) is not a mistake, it's the right thing to do. And at the time of this writing, the fact is that most of this topic's posts which contain positive things about that emulator have not been downrated.

Downrating is normally the only allowed way to express oneself about the emulator and its badness for a community, since the matter is in moderation territory...
« Last Edit: July 14, 2013, 12:59:31 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #24 on: July 14, 2013, 06:57:45 pm »
the fact is that most of this topic's posts which contain positive things about that emulator have not been downrated.

Downrating is normally the only allowed way to express oneself about the emulator and its badness for a community, since the matter is in moderation territory...
The reason why they're not downrated is because somebody uprated them after someone downrated them. AFAIK, though, only 1 post was downrated, so it might have been a misclick.

And true, although this could be seen as an attempt at circumventing forum rules. That said, since Omnimaga hasn't upgraded to SMF 2.x yet, it is impossible to know who rated what, so the rating system isn't actively moderated unless vandalism or harrassment is suspected, in which case members need to use the Report to moderator function to let staff know.

Also weird post downrating can cause unnecessary off-topicness anyway.
« Last Edit: July 14, 2013, 07:07:50 pm by DJ Omnimaga »

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #25 on: July 14, 2013, 07:10:42 pm »
Even if it is a pure off-topic, ...
only 1 post was downrated, so it might have been a misclick.
... so you're still thinking that downgrading posts, where there are positive arguments about that emulator, is a mistake/misclick ? even after what Lionel said ?
I also don't really like the way that uprating downratings hides what the first who downrated wanted to say by this vote.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #26 on: July 14, 2013, 07:27:32 pm »
Not necessarily, but it is still possible, since only one single post appears to have been downrated in this topic in particular, even though a few other posts shared similar content. Unless I missed some? However, I know that in certain other topics, it was 100% not a mistake, since several posts defending/showcasing the emulator were downrated.

As for uprating downrated posts it's only because some people find that the downvote was unfair in the current scenario. Else it could either have stayed that way or received even more downvotes.

Back on-topic now?
« Last Edit: July 15, 2013, 01:07:18 am by DJ Omnimaga »

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #27 on: July 15, 2013, 01:03:45 am »
My head is spinning a little bit after all those posts about the Post Ratings, which is all good and great discussion, but it's important to get back on topic.

- I noticed in v0.1.1 that the program doesn't load on the display until you press a button. Nice touch, though initially a bit confusing.
- The save dialogue works but either doesn't refresh right away or is taken away by input from the coding window (you can still move around it while the save dialogue is open. I'm sure that shouldn't be too hard to fix.
- Does load work only after you exit the program and re-open it?
- Other than that, looks and works great.
- Perhaps you could add syntax colouring for if, end, function etc.
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #28 on: July 15, 2013, 01:27:06 pm »
@Jonius7: Finally someone gets back to topic :)
- When the program doesn't load on the display? Right at the launch? I think I already fixed that in my current state of development...
- I'll block the opportunity to move around while save dialogue. And you're right, I forgot to update the screen after the save dialogue, I'll fix that.
- The load function works fine with my CX... When you save a "file", loading right after that doesn't work? What exactly? Does the menu not update after saving?
- syntax colouring is planned for future versions

Thank you very much for the feedback!
« Last Edit: July 15, 2013, 01:45:40 pm by Jens_K »
Sorry for nonsense.

Projects:



Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Skript Editor - a on-calc lua editor
« Reply #29 on: July 16, 2013, 08:52:33 pm »
UPDATE!!
Version 0.2 is now attached to the first post!

New features:
- Syntax colouring
- Help and instructions
- Support for non-ASCII-characters (use might be a bit confusing)
- Message boxes for safety
- Various bugfixes and improvements
« Last Edit: July 16, 2013, 09:03:31 pm by Jens_K »
Sorry for nonsense.

Projects: