Author Topic: CIL (C#) Interpreter for TI-Nspire  (Read 10860 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
CIL (C#) Interpreter for TI-Nspire
« on: May 25, 2011, 07:36:24 pm »
Hello,
I've never successfully gotten an Nspire dev environment working, so I won't be able to do this myself.  But I found an open source, loosely licensed .NET virtual machine implementation written in C that should be easily portable called Dot Net Anywhere.  What this means is that you could code in C# for the TI-Nspire, if one were so inclined (or VB.Net, or any other selection of CIL languages).
When I glanced at the source, it looked like it could probably happen on Nspire, if only someone spent some time on it.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #1 on: May 25, 2011, 07:40:31 pm »
sounds like it would need ndles to run which is unfortunately available n the new OS's yet
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

SirCmpwn

  • Guest
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #2 on: May 25, 2011, 07:42:35 pm »
sounds like it would need ndles to run which is unfortunately available n the new OS's yet
I never upgrade my OS until Ndless works on it, personally.

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #3 on: May 25, 2011, 07:43:58 pm »
YES!!! A C# EDITOR!!!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #4 on: May 25, 2011, 07:44:14 pm »
same with me now. I like 2.0.1 and OSLauncher. plus so many fun games

EDIT: Its just that chances are that not many people will develop for ndless till it is brought to the new OS
« Last Edit: May 25, 2011, 07:44:55 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

SirCmpwn

  • Guest
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #5 on: May 25, 2011, 07:44:59 pm »
YES!!! A C# EDITOR!!!
*Interpreter
You'd still need to compile off-calc and such.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #6 on: May 25, 2011, 07:46:44 pm »
YES!!! A C# EDITOR!!!
*Interpreter
You'd still need to compile off-calc and such.
we don't know if it will work on an Nspire yet though
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline pianoman

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 426
  • Rating: +24/-0
  • ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫ ♪♫
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #7 on: May 25, 2011, 07:49:51 pm »
Darn :(
Oh well. If it doesn't work, I get some motivation to learn C. :P

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #8 on: May 25, 2011, 07:51:14 pm »
Good luck, SirCmpwn. Hopefully the existing infrastructure will make it a lot easier to write, because doing a full interpreter from scratch is pretty difficult.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #9 on: May 25, 2011, 07:52:27 pm »
Good luck, SirCmpwn. Hopefully the existing infrastructure will make it a lot easier to write, because doing a full interpreter from scratch is pretty difficult.
Not if you write a script to generate the interpreter code.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #10 on: May 25, 2011, 07:54:17 pm »
Good luck, SirCmpwn. Hopefully the existing infrastructure will make it a lot easier to write, because doing a full interpreter from scratch is pretty difficult.
Not if you write a script to generate the interpreter code.
that sounds like cheating
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

SirCmpwn

  • Guest
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #11 on: May 25, 2011, 08:00:10 pm »
Good luck, SirCmpwn. Hopefully the existing infrastructure will make it a lot easier to write, because doing a full interpreter from scratch is pretty difficult.
Not if you write a script to generate the interpreter code.
that sounds like cheating
I call it efficiency.  Every time I have a lot of tedious code to write, I write a program to do it for me.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #12 on: May 25, 2011, 08:01:04 pm »
I like that idea. I should do that. XML no more manual copy/paste
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #13 on: May 25, 2011, 08:03:57 pm »
Good luck, SirCmpwn. Hopefully the existing infrastructure will make it a lot easier to write, because doing a full interpreter from scratch is pretty difficult.
Not if you write a script to generate the interpreter code.

That strategy doesn't always work very well, particularly for non-"tedious" code.
« Last Edit: May 25, 2011, 08:04:39 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: CIL (C#) Interpreter for TI-Nspire
« Reply #14 on: May 25, 2011, 08:04:45 pm »
you generate the original code then optimize/improve it.
« Last Edit: May 25, 2011, 08:04:53 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y