Yet Another Linux IDE Request... kinda
James Newman
Posts: 133
A few days ago I accidentally somehow nuked my windows instillation. Couldn't get it to boot no matter what, replaced the MBR, tried a repair from windows, checked all the files and everything. Anyway, as I've lost my disk, I decided to go ahead and pull my linux off of the smaller dieing drive and give it the big windows one. So that's done, Took a full day to pull all my data off the drive, then install/configure linux the way I like it, and finally place my data back. This isn't much of a problem, as I play all my games on the ps3 anymore, and I have all the software I use on linux anyway. With the exception of the Propeller IDE.
Now, I could write a simple asm compiler, since it's fully documented, and the prop-pc communication process is also... but how has the progress gone with documenting the Spin byte code? Is it to the point where someone can write their own spin compiler yet? I would go looking, but I don't have much time atm. For now I'm going to use my gfs laptop for finishing my current project.
Any and all information available is appreciated.
Now, I could write a simple asm compiler, since it's fully documented, and the prop-pc communication process is also... but how has the progress gone with documenting the Spin byte code? Is it to the point where someone can write their own spin compiler yet? I would go looking, but I don't have much time atm. For now I'm going to use my gfs laptop for finishing my current project.
Any and all information available is appreciated.
Comments
The other side of the compilation is parsing through sub-objects to ripple constant definitions back up the object tree. Compilation is at least two pass, maybe more.
I would say it's perfectly possible to build a third-party Spin compiler at this point in time.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers
Steven
Steven
1. Find first sub-object
2. In sub-object replace all constants with the values
3. Allocate space for variables
4. Compile the methods one at a time to a file
5. Make the method pointer table
6. Step up and object and repeat until you get to the top object
So yes you will need an SD card or something but I can't see that it will be a big problem. (except that I have never written a compiler before except for a very basic propeller assembler in spin )
Steven
-Phil
Steven
-Phil
It may be possible to have a Propeller-based compiler ( Chip seems to think so for the Prop II ) but I think that's a niche market ( standalone system on a student's desk ). It's an interesting idea but not, IMO, what anyone interested in anything but 'amateur programming' for the Propeller would consider satisfactory.
I feel that Propeller-based development is just a distraction, side-stepping even, of what the fundamental issue is; getting existing tools working on non-Window OS's, or rewriting the compiler for those platforms.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Since Crossover appears to have all the window and wordprocessing functionality, it seems like the Propeller IDE is likely to operate within it. Additionally, it has the DDLs for serial I/O [noparse][[/noparse]I assume that means USB as well as RS-232].
And since it makes the installation easier, it seems worth the $39.95 rather than using the Debian version which is more complex to install and remains more questionable about funtionality.
Has anyone tried it?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Is Crossover the best choice, or is that fact yet to be established?
I understand the download problem is separate from the compile process.
For Parallax, it would be wonderful to have one Linux solution that is deemed useible. Right now, I am trying to make sure the $39.95 is worthwhile. I already have OpenOffice for free, so I don't need to run MSWord, Excel, and so forth.
Logistically, having a completely Linux compiled solution seems likely to always struggle to keep up with Parallax's Windows IDEs. Changes would take longer to migrate over. And of course, it might generate its own set of bugs and quirks that require even more support efforts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
They are still clickable, but the formatting is so jumbled you can't tell what you are clicking on....
Steven
A lot of this is IDE development is beyond me and I suspect that many begineers will always be in the mix.
For me, it just seemed easier to consider the use of Wine or a similar alternative. VMWare is a $189 solution, VirtualBox seems to be asking for donations, and of course Crossover [noparse][[/noparse]a commercial version of Wine] is the $39.95 solution. Debian's Wine is available, but I'm not sure it is as good. Mike mentions that·Debian's lacks critical DLLs.
Using that approach, I might get other IDEs working equally as well [noparse][[/noparse]Like the BasicStamp's and the SXKey]. I guess you could say I was looking for a lazyman's wholesale fix.
Also, I am wondering if the downloading problems are specific to USB ports, RS-232 ports or simply both. My impression is that someone might have overlooked one or the other, but that we may be getting untrue reports that none work. Obviously, if the USB works, it may be the lack of installed driver software to support an RS-232 adapter.
Like James, I am somewhat frustrated by Microsoft's voodoo. After high hopes for XP, things still occasionally stop working, automatic updates suddenly change the environment, and so on. So, I've gotten a Linux mini-laptop as a backup to manage web communications regardless of what my XP machine does. If a virus attacks one, it is more likely to miss the other. But, now I have to plan some of my work according to which workstation is available. Nonetheless, the issues of comparision have led to me learning more, so I'm happy with the challenges.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Post Edited (Kramer) : 2/5/2008 7:47:38 AM GMT
I can't escape the feeling though that the "right way" to do this is to make a Propeller backend for GCC and Spin and Propeller Assembler frontends. That might require a large memory model though, at least I think I remember reading something similar in older forum post.
So I suppose maybe a nice simple place to start would just be a stand alone program that targets both languages, and then integrate the 3 layers (spin input, asm input, bytecode/machine code output) into GCC later if it seems feasible.
Programming the prop should be a separate program. I am a believer in the old school Unix philosophy of "small tools that do their job extremely well and can be combined via command line scripting". Therefore, I believe a full-on IDE is not a great Linux solution. If you need that, maybe try Windows
Cheers,
--fletch
Steven