Not to worry. We can create BASICNIML (or is that NIMLBASIC) with a PRINT statement. I'm still not convinced that a language syntax should be weighed down with keywords like PRINT. I hardly ever print anything from a program. You're wrong. NIML/BASIC won't need "PRINT" it will have "SAY", "WRITE" o...
Thanks for clearing that up. I figured as much, but it does seem counter-intuitive NOT to expect a more direct route to the system to be quicker. Of course, that could well be my ignorance showing. Pardon.
As for direct file access in bash - yes is the answer, what's the question? Hahahhahaha...The question is: Is there any advantage or efficiency in GPIO direct file access in bash? In this case, if I was to use the RTB SYSTEM command to direct a bash file access method to control GPIO, would that be...
I love the simplicity of it. "See that pin? Turn it on. Wait half a tick. See that pin again? Now turn it off. Hey, keep doing that." I just wrote code in English that took more bytes than the BASIC code. Now THAT'S how that's supposed to work, right?! What about direct file access in bash? As for d...
As fascinating as this discussion is becoming, sadly we should probably get back to Raspberry Pi and RTB in this particular forum. I feel like the Mythbusters trying to figure out how to sneak science into an episode after blowing up a cement truck. Ummm...I wonder how RTB BASIC GPIO controls stack...
Clever. I didn't know that was out there in the world. Thanks. Interesting that BASIC isn't on the list (and no, VB doesn't count. It was never, ever, really BASIC).
The smallest CP/M machine ever made! That is really cool! It has always amazed me how CP/M and Zilog went from THE industry standard on nearly every personal computer on the market to nothing but a mere footnote in the industry in such a short period of time. Of course it was the six-fold price dif...
Oh the Propeller instruction set is much nicer and easier to work with than the Z80's. Actually when I got interested in the Propeller my first non-trivial project was to write a 8080 emulator for it. This is quite a challenge as although a Prop has 8 32 bit processors you can only execute native in...
"YAFL". I'll leave you guess what that stands for :) Yet Another Fabulous Language? No? Oh?...Ohhhhh...! Propeller micro-controller from Parallax Inc https://www.parallax.com/product/p8x32a-d40 The instruction set and assembly language for the Propeller are so beautifully regular and simple and the...
sarossell, With your "NIML" thing you reminded me of my other programming language invention a while back, "YAFL". I'll leave you guess what that stands for :) ...the most interesting design meetings I have to attend usually revolve around assembly language projects. There's something about the shee...
Agreed. I just chose PRINT as an example since it's involved in the most common activity for all languages with the "Hello World" exercise. BASIC was intentionally simplified and made more human-language-like so it would be easy to remember and learn but I have to admit, the most interesting design ...
That's okay. Eventually it will come full circle and we'll have RealNIML, PureNIML, FreeNIML, PowerNIML, SmallNIML, QuickNIML,...........and NONE of them will use a simple, freakin' PRINT statement.
But now I see a lot of Free and Open Source languages emerging. My new theory is that if you program in any language long enough it starts to annoy you. You start to imagine all kind of ways it could be better. If you are skilful you start building your own new improved mutant language. And I claim...
It' probably better if you don't have every team member using whatever their favourite language is. You've heard of the Tower of Babel I guess. ...why everybody and their dog just has to invent yet another way to do the same exact thing I used to think this a lot to do with commercial vendors wantin...
That is why those "complex" languages like C/C++, Ada, Java etc get created. Yes they may make doing trivial things look harder but they are designed to make doing big complex things more manageable. That makes a lot of sense. The right tool for the right job, I suppose,... I'm guessing the law is ...
sarossel, I mean, printf("text")? Really You just HAD to add the 'f' and you just HAD to have the parentheses AND the quotes? Come on. And that's a simple example. Actually you have picked on one of the more complex examples in C. printf does not just print a string. It takes a format specification ...
Oddly enough, the only thing I truly understood was "smeg" (Huge Red Dwarf fan). The rest? Not so much. You may be trying to teach physics to a rock. I may not know the gravitational acceleration constant, but I can still roll down a hill. Most of my job as a manager is making sure everyone shows up...
...and this is why I MANAGE programmers and I'm not A programmer... Oh ! well smeg curl -s "$some_url" |\ pup ' json{}' |\ jq $2 $filter 2>/dev/null use curl to download some url ( in the case of the above post this topic! ) use 'pup' to transform the html into json use 'jq' to filter the json and ...
...and this is why I MANAGE programmers and I'm not A programmer. I have NO IDEA what any of your message meant. It looks clever. For all I know, you may have even insulted me... :? Luckily, I'm too stupid and kind-hearted to notice or take offense. I apologize for not being able to comprehend your ...
I'm always amazed at how some people prefer to work with complicated systems or processes. For example, attorneys - they seem to revel in fine print, endless forms, debate, argument, evidence, rebuttal, appeal, procedure, schedules, tactics, etc. The same is true of professional programmers. They se...
How cool is that?! To think that the Pi 3 could actually be used as a development platform! We live in the future, man! A lot of the drive behind the original Pi 1 was that it could be used to develop software on, as well as run it - a lot of existing devices were 8-bit micro-controllers which need...