Author Topic: pyWrite - python script editor  (Read 46942 times)

0 Members and 1 Guest are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
pyWrite - python script editor
« on: October 12, 2014, 07:38:59 am »
Well, I haven't got much time to develop this much further than this right now, so I'll publish the current state.
It was intended to be in between nTxt and Jens' script editor.

Features:
- Mouse cursor (DMZ theme, author unknown)
- "Save&Run": micropython must be at "/documents/ndless/micropython.tns" for it to work.
- Multiple fonts (but you can't switch :P)
- Saving isn't implemented (;D)

If there is enough interest, I may release the source code and develop it further when I have time again.


Offline torito3112

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: pyWrite - python script editor
« Reply #1 on: October 15, 2014, 05:44:02 am »
nice work bro...i like it :hyper: :crazy:

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: pyWrite - python script editor
« Reply #2 on: October 23, 2014, 07:29:11 pm »
Are you going to add syntax highlighting?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: pyWrite - python script editor
« Reply #3 on: October 23, 2014, 07:39:52 pm »
Ooh nice, how come I didn't see this ...

You should have posted it on TI-Planet too, Bisam (and his students, by extension) particularly would have probably tested it 101%, given feedback and such :P

Obviously it needs some more work (because, well, we want to be able to save :D) but congrats on the good start already...

Your "Save&Run" feature is quite cool, it was a question some time ago if it was possible from an ndless program to open another ndless program...

Anyway, I guess it would be great if you put it on a GitHub repo so that anyone willing ( / that has free time :P) could help you on it :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #4 on: October 24, 2014, 02:50:16 pm »
Quote
Are you going to add syntax highlighting?
It's definitely planned, if I'll be working on it again.

Quote
Your "Save&Run" feature is quite cool, it was a question some time ago if it was possible from an ndless program to open another ndless program...
There's a syscall for that: nl_exec :P

Anyway, I guess it would be great if you put it on a GitHub repo so that anyone willing ( / that has free time :P) could help you on it :)
Yeah, there are somee issues I would have to get rid of first. It's kind of onion code currently (If you open it, you start crying) :-/
Next week is no school, so I'll have some time to do this, actually :-)

BTW: How do you like the (mouse) cursor movement? I really dislike the OS cursor and with send_pad_event it should be possible to replace it.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: pyWrite - python script editor
« Reply #5 on: October 25, 2014, 09:32:58 pm »
Hey I do like your mouse ! :)

Also, yeah, I forgot about your "micropython must be at "/documents/ndless/micropython.tns" for it to work." so I had to reset the calc :P
(the calc was stuck at the error popup window the screen and the screen was kind of twinkling/blinking very fast)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline bisam

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: pyWrite - python script editor
« Reply #6 on: October 27, 2014, 03:29:30 pm »
Great work !
Hope it will be continued... even if you can't do it by yourself, Vogtinator.

A pity I didn't see that sooner so that my students would know about it. I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: pyWrite - python script editor
« Reply #7 on: October 28, 2014, 03:53:05 pm »
I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).


I think TI-Planet is a french calculator community
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: pyWrite - python script editor
« Reply #8 on: October 28, 2014, 03:55:05 pm »
I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).


I think TI-Planet is a french calculator community

Yes, Bisam is quite active on tiplanet. He was referring to the fact that Voginator's project is on Omnimaga, but not tiplanet.



Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: pyWrite - python script editor
« Reply #9 on: October 28, 2014, 03:58:55 pm »
I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).


I think TI-Planet is a french calculator community

Yes, Bisam is quite active on tiplanet. He was referring to the fact that Voginator's project is on Omnimaga, but not tiplanet.
No, he's referring to the fact that he didn't tell his students about omnimaga, as they're french and omnimaga isn't. (Although the reasoning isn't quite clear to me).

Edit: Edited wrong post *facepalm*
« Last Edit: October 28, 2014, 04:03:49 pm by Vogtinator »

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: pyWrite - python script editor
« Reply #10 on: October 28, 2014, 04:01:21 pm »
I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).


I think TI-Planet is a french calculator community

Yes, Bisam is quite active on tiplanet. He was referring to the fact that Voginator's project is on Omnimaga, but not tiplanet.
No, he's referring to the fact that he didn't tell his students about omnimaga, as they're french and omnimaga isn't. (Although the reasoning isn't quite clear to me)

I think he was saying both that  he didn't tell his students about omnimaga, and that your project is only omnimaga. (therefore his students never I saw it).



Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: pyWrite - python script editor
« Reply #11 on: October 28, 2014, 04:22:45 pm »
Great work !
Hope it will be continued... even if you can't do it by yourself, Vogtinator.

A pity I didn't see that sooner so that my students would know about it. I didn't tell them about Omnimaga yet (you know, english speaking, french maths students... does not match).

Well, despite that we do have a french section, and quite a few members that are bilingual. :)

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: pyWrite - python script editor
« Reply #12 on: October 28, 2014, 04:47:00 pm »
People in France are usually very bad at English (unlike french-speaking people located in Canada) so Omnimaga would probably not be convenient for them. Yes there is a French section, but it was mainly because of the demand at the time plus the Omni interface is in English by default, which is enough to scare someone not speaking the language away.

Also I think Bisam knows very well about TI-Planet, considering he's global moderator there. :P

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: pyWrite - python script editor
« Reply #13 on: October 28, 2014, 04:52:03 pm »
People in France are usually very bad at English (unlike french-speaking people located in Canada)
That. Sadly.

Also I think Bisam knows very well about TI-Planet, considering he's global moderator there. :P
Yep
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: pyWrite - python script editor
« Reply #14 on: October 28, 2014, 07:35:07 pm »
I guess that's true. The site navigation is all in English as you say as well. However, of the French people we have had that joined, many of them say "Sorry for my bad English". I usually find this to be a false statement, as many of them speak decently well. I guess the overall population doesn't as much though. :/ I'd still encourage people to join if they have basic English skills. We try to be accommodating and open, and programming itself is somewhat universal. :) Google translate has also improved quite a bit in recent years. French to English translation is usually pretty decent these days, though I'm unsure about the other way around.