That just made me push C# in my to-learn list even more.doc-helmut wrote:I really don't want to discourage you or call your challenge into any question, but given the fact that it is an almost unmanageable chunck of keywords, definitions, predefined expressions and macros (look at NXCdefs.h) which have to be processed into a graphic symbol it's worth while a big team of specialists who care about it's implementation and redeployment and it's hard to see in how many years this project will ever be finished...
Idea: Visual NXC
Re: Idea: Visual NXC
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: Idea: Visual NXC
No idea what you're saying here, but C# has excellent "code-behind" features. It's not just an interface.. And even if it wasn't, .NET allows close integration of CLI and Native codebases. I could write all of the codebehind in C++ if I knew it and wanted to.doc-helmut wrote:1.) visual Basic or Delphi or Borland C++ (which I actually know better) don't generate code that calculates or writes any useful routines - they generate just a user interface with windows, buttons, canvas, menus, edit boxes. What happens "internally" if a user pushs a button must still be written in "legal handwritten C or Pascal code" - each variable, each loop, each if, is +, *, / -, ^, % or what ever.
Not quite. Blocks will merely represent a snippet of NXC code. There will not be a single block for 'every line of code'. Some blocks will contain dozens of lines of code. Variables will be handled automatically (to some extent) in that local varaibles will not conflict with global variables, and the user will have access to the global vars if and only if they want it.doc-helmut wrote:2.) What you try to do is much more than this: you try to put every keyword, variable, more-dim. array, expression, macro, modifier, device, into a graphic symbol.
See my response to point #2.doc-helmut wrote:3.) NXC has lots of keywords and symbols and devices and what else...
That is the idea And, unlike NXT-G, Robolab, or Labview I am planning on having a special block for advanced users that allows them to write the code within the block themselves.. Think of an "nxc code" block in NXT-G.doc-helmut wrote:4.) If you try to put all this (the programming language itself, not just the user panel and interface) into grafic symbols you will end up inevitably at a grafic language which more or less looks like or similar as NXT-G or Robolab or Labview, except the fantastic benefit that you will have an additional written code in NXC syntax.
The "chunk of keywords, definitions, expressions, and macros" is hardly unmanageable. V-NXC already parses all commands, constants, and keywords (2,000+ of them) to do the code highlighting. It loads this all when the "view output" window opens, and takes no noticable time at all.doc-helmut wrote:I really don't want to discourage you or call your challenge into any question, but given the fact that it is an almost unmanageable chunck of keywords, definitions, predefined expressions and macros (look at NXCdefs.h) which have to be processed into a graphic symbol it's worth while a big team of specialists who care about it's implementation and redeployment and it's hard to see in how many years this project will ever be finished...
That is also the ideadoc-helmut wrote:I personally almost would have resigned since quite from the start, but I honestly hope this could be a further incentive for all for all involved people to bring this actually magnificent project to a glorious final...
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
Re: Idea: Visual NXC
what I meant was: if I want to write code for odometric navigator and maze solver I would have to write my C or Pascal code on my own (using Borland Delphi or C++), both won't give me any libraries with precast code for calculting all the astar nodes and paths and trigonometric formulas for positions from odometric data. There is just the code for the windows and buttons a.s.o.No idea what you're saying here, but C# has excellent "code-behind" features. It's not just an interface.. And even if it wasn't, .NET allows close integration of CLI and Native codebases. I could write all of the codebehind in C++ if I knew it and wanted to.
But I wish you good luck^^
Re: Idea: Visual NXC
You know, I think you should convert the SVN to Mercurial*. SVN is designed for a one user project; Hg is for an entire team.
I believe SourceForge supports Mercurial, but I recommend the best: Bitbucket.
-----
*Or git, I guess, but I'd much rather have the awesome ease and elegance of Merucial (Hg) by Selenium (Se). And, yeah, we're doing Chemistry in Science class.
WARNING: Link contains a "bad word" in large, unfriendly capital letters. Link.
I believe SourceForge supports Mercurial, but I recommend the best: Bitbucket.
-----
*Or git, I guess, but I'd much rather have the awesome ease and elegance of Merucial (Hg) by Selenium (Se). And, yeah, we're doing Chemistry in Science class.
WARNING: Link contains a "bad word" in large, unfriendly capital letters. Link.
Last edited by muntoo on 09 Jun 2011, 00:51, edited 1 time in total.
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: Idea: Visual NXC
I'll look into it.muntoo wrote:You know, I think you should convert the SVN to Mercurial.
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
Re: Idea: Visual NXC
SVN is not designed for a single user, that's nonsense. I have been part of very large projects that used SVN. It has everything you need for conflict resolving, etc. Now unless you are hosting a project involving hundreds, if not thousands of users using many geographically distributed repositories, SVN will do just fine.
Don't make things more complicated and complex than they have to be.
- Xander
Don't make things more complicated and complex than they have to be.
- 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)
| 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)
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: Idea: Visual NXC
Actually I'm really liking Mercurial. I'm finding its commit/revision system to be more comfortable (and per-file!), I can better see what exactly changed, commit notes are better integrated, and it all just seems.. 'cleaner'. Just personal preference, but at least on this project I'm a convert.
Have a nice day,
~Sidneys1
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
Re: Idea: Visual NXC
You really should upload your new DLL Libraries (specifically STP.Rgi). I've been itching to compile this...
Also, you should edit your SourceForge Visual NXC project page to include a "redirect" to your new repository.
Also, you should edit your SourceForge Visual NXC project page to include a "redirect" to your new repository.
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: Idea: Visual NXC
Thanks for the reminder! I've been meaning to do that for a while now..muntoo wrote:You really should upload your new DLL Libraries (specifically STP.Rgi). I've been itching to compile this...
Also, you should edit your SourceForge Visual NXC project page to include a "redirect" to your new repository.
Have a nice day,
~Sidneys1
EDIT: Fixed.
My Mindstorms website: http://sidneys1.com
-
- Posts: 141
- Joined: 01 Oct 2010, 14:38
- Location: Pennsylvania - The United States of America
- Contact:
Re: Idea: Visual NXC
Also, for anyone who doesn't want to download and complile the code themselves, I compiled a minor update here. No real changes, just a few little bug fixes and tweaks.
Visual NXC v0.1.0.5r (r for 'refresh')
So, there you go, peeps too lazy/unable to compile Also, as mentioned in my previous post, I updated the "DLL Libraries.zip" file, which contains the new dependancies required for V-NXC to compile.
Enjoy!
Have a nice day,
~Sidneys1
Visual NXC v0.1.0.5r (r for 'refresh')
So, there you go, peeps too lazy/unable to compile Also, as mentioned in my previous post, I updated the "DLL Libraries.zip" file, which contains the new dependancies required for V-NXC to compile.
Enjoy!
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
Who is online
Users browsing this forum: No registered users and 5 guests