Hello my name is Jeff. I was thinking of something I could contribute to this project and feel I would like to develop an interpreter perhaps BASIC. Before I start such a project I wanted to ask other members here what they would like/not like, if BASIC isn’t wanted here I coukd write a dialect of C as well. In either case any code I would develop would be in C++ and would follow Haiku coding standards.
In the forgotten age in which BASIC thrived, the user’s entire UI was a console and the user would be instructed to write atomic commands in that console. Said commands came from powerful sources outside the realm of understanding (as they were typically written on packaging and intended for consumers).
Later, the user learned that they could combine commands in resident memory using line numbers. Later still, the user learned to store lines of commands on a cassette tape (or a floppy) and maybe to continue improving those lines in future sessions. And so, the fledgling developer was born.
I would like Haiku to provide a box in every GUI window, in which a command can be typed… Consequently, every window would double as a console and JIT compiler. Powerful scripts could be written for each directory, but with a scope limited to that directory.
This could provide a gradual learning curve similar to BASIC and who knows what the result would be…
Some of the GUI programs on Haikuware were created with yab (require ncurses library). I would prefer people stick with Yab because it is very powerful and easy to use and learn.
I am not sure how popular a dialect of C would be. Do you mean to extend the gcc compiler to work with Objective-C/C++?
Would you be interested in fixing tickets (bugs) for Haiku instead? The more bugs that get fixed for Haiku the better it will be. You can post patches to tickets with your comments. http://dev.haiku-os.org/query
The first programming language that I sort-of learnt was BBC BASIC under the Beebem emulator, and I found it so easy to learn, especilly given the excellent documentation in the system’s manual. Personally, I think that it would great if this language could be ‘extended’, so that modern programs could be written, and using Haiku’s integrated abilities, (i.e. creating windows, using tracker, etc.) I think that this would help beginners in programming such as myself to create useful contributions to the system, and give them a good place to start. Or, although there is some already, extra support and thingies for python would be quite useful, as although C is widely used and powerful, it is not the most intuitive of languages. But, this is just what I think, so you can create whatever you like!
It uses the bash shell if you know of it already. It is possible to write shell scripts, the equivalent of a batch file. In general, the bash is easier to use than command prompt, but that’s just Windows. I’m not exactly sure how to make your script open in the terminal though, I’ve had to copy and paste mine into the GUI.