Idea: Visual NXC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

Maybe Tim could try compiling the source on his XP computer?
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

muntoo wrote:Maybe Tim could try compiling the source on his XP computer?
If he's willing, sure. PM me if you're interested, Tim.

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
tcwan
Posts: 186
Joined: 30 Sep 2010, 07:39

Re: Idea: Visual NXC

Post by tcwan »

sidneys1 wrote: Are/were you by any chance using a school network? They sometimes block unknown websites.
Yes, that's probably the problem.
The ImageShack page is not very clear whose domain was to be registered though.
I thought they were referring to the mindboards.sf.net site (that being the referral site).
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Ok, thanks to Timpattinson's help I've managed to fix the Windows XP incompatability! Can I have some more people verify that it works on XP? Also, do we have some OSX Mono users that can see if the Mono version is all it says it is? Just PM me, don't post here.. The discussion doesn't need to get any more bloated than it already is...

Here it is: 0.1.0.3 Alpha

Anyways, this new version doesn't have anything.. well.. new, really. Just a slightly changed UI, and some more background code. Here's the changelog:
Visual NXC - 0.1.0.3 Alpha:
  • Added toolbar.
  • Themed treeviews like windows explorer.
  • Improved tab bar.
  • Added ability to open tabs from the "Items:" treeview.
  • LOTS of supporting code...
  • Fixed XP compatibility.
  • Added new form for viewing NXC code (doesn't work yet)
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Idea: Visual NXC

Post by mightor »

I just tested it on Windows 7 Enterprise 64 bit and it works well. I have no idea which .Net version it was using. I think I have all of them on this system.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

mightor wrote:I just tested it on Windows 7 Enterprise 64 bit and it works well. I have no idea which .Net version it was using. I think I have all of them on this system.

- Xander
Windows 7 comes with .NET 3.5 out of the box, and should be automatically upgraded to .NET 4.0 via Windows Update. Interesting to know that it ran OK on a x64 though... The binaries I uploaded are x86.

I've compiled an x64 binary: download 0.1.0.3 - x64 (link removed). See if that gets better performance, perhaps (as far as memory usage and startup times, etc)

Thanks for your help, everyone!
Have a nice day,
~Sidneys1
Last edited by sidneys1 on 06 Apr 2011, 16:50, edited 1 time in total.
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Idea: Visual NXC

Post by mightor »

I ran the 64 bit version but I am not seeing any difference. Just stick with the one 32 bit version :)

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

mightor wrote:Just stick with the one 32 bit version :)
Thanks for the feedback Xander, I've removed the x64 download and will just do x86 from now on. Any takers on testing Visual NXC on OSX Mono?

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Been doing some more tweaking of things, and here's what I got:
Image
NO, that is not outputted code. I typed that in by hand. I just wanted to show that the code highlighting works. It's pretty cool how it works actually, I have three files, commands.txt, constants.txt, and keywords.txt, that are all formatted like this:

Code: Select all

#COLOR=B0B0B0
abs
sign
SetSensor
SetSensorType
SetSensorMode
ClearSensor
SensorValue
...
WatchFormat
So the highlighting is pretty customizable. I need to get a few more dialogs working (enum and struct builders) then I can get the actual GUI up and running!

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

I really hope you won't really be using that True Random Number Generator. :)

Is that MDI temporary? Will we have a tabbed interface, eventually?
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests