Author Topic: A new scripting language for Linux  (Read 9903 times)

0 Members and 1 Guest are viewing this topic.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: A new scripting language for Linux
« Reply #15 on: January 18, 2014, 09:16:16 pm »
I am really curious if some classic BASIC games will run fine even with no modifications? I remember once I made an Axe program that almost ran identically with no change (except inverted X coordinates).
Basically with the PC interpreter acting as a TI-BASIC interpreter? That would be neat. But Juju did say he wouldn't be emulating the calculator screen. (Which is IMO a perfectly reasonable decision. The goal here isn't actually to create TI-BASIC again)
But still, a calculator TI-BASIC compatibility mode could be cool (Even if it means I have to resize my terminal to 16x8 for the homescreen :P)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Lunar Fire

  • LV3 Member (Next: 100)
  • ***
  • Posts: 66
  • Rating: +7/-1
  • I'll be watching you from the shadows
    • View Profile
    • My Tumblr
Re: A new scripting language for Linux
« Reply #16 on: January 18, 2014, 09:35:14 pm »
It would be possible to specify a compatibility mode with a command-line switch (like -mode=ti83) to force the use of a 96x64 screen like the calculators had.

Without supporting graph functions for now, it could be cool to emulate a text-only TI-83 screen with ncurses. Would be as simple as setting a 12x8 characters screen with a monospace font (maybe even the TI-83 font).

That project is very interesting and I would like to contribute to it, but for now I don't understand a thing about flex and bison. I'm reading tutorials to learn about the mechanics of those tools but for now I don't get anything. I'll tell you if I ever manage to do something with this.
Your drill is the drill that will pierce the heavens!

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: A new scripting language for Linux
« Reply #17 on: January 18, 2014, 09:37:45 pm »
Or just be able to specify color (--color or -c) and screen size (--size or -s) and then have the mode (--mode or -m) do that for flexibility.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: A new scripting language for Linux
« Reply #18 on: January 27, 2014, 06:44:59 pm »
UPDATE:

- Added interactive mode (-i, --interactive).

UPDATE2:

- Added #comments (so shebangs works, try adding #!/usr/bin/tibasic as first line) (also fixed a bug where a newline as beggining of file throws a syntax error)
« Last Edit: January 27, 2014, 08:24:07 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: A new scripting language for Linux
« Reply #19 on: January 27, 2014, 11:50:23 pm »
I am really curious if some classic BASIC games will run fine even with no modifications? I remember once I made an Axe program that almost ran identically with no change (except inverted X coordinates).
Basically with the PC interpreter acting as a TI-BASIC interpreter? That would be neat. But Juju did say he wouldn't be emulating the calculator screen. (Which is IMO a perfectly reasonable decision. The goal here isn't actually to create TI-BASIC again)
But still, a calculator TI-BASIC compatibility mode could be cool (Even if it means I have to resize my terminal to 16x8 for the homescreen :P)
Oh I didn't meant perfect emulation, but rather making it so that porting BASIC programs using Notepad's Find/Replace only takes like 5-10 minutes instead of having to recode everything from scratch or learning a new language. It's fine if it can't, though.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: A new scripting language for Linux
« Reply #20 on: January 27, 2014, 11:53:07 pm »
My current milestone is to get WFRNG to work without much changes.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: A new scripting language for Linux
« Reply #21 on: January 28, 2014, 12:43:49 am »
Why not Reubenquest? :trollface:

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!