Post Reply 
Simple Programming Language or Set of Programming Commands
10-07-2019, 11:56 AM
Post: #2
RE: Simple Programming Language or Set of Programming Commands
(10-07-2019 08:46 AM)deetee Wrote:  Hi all!

The next calculator I'm going to build should cover some programming features but unfortunately the resources (i.e. code size) are limited.

So far I can edit and run sequences containing all operations of the calculator. But a "complete" programming language has to contain some decision and repetition capabilities. Also some simple input and output sequences would be very convenient.

Are there any examples for small, easy and simple complete programming languages or sets of commands?

For instance my HP15c seems to have easy and complete programming features - but it could be more convenient.

Thanks in advance and regards
deetee

Although people may call for my head for suggesting this, have you looked at BASIC? It was designed to be easy for beginners to use (in fact the name means Beginners All-purpose Symbolic Instruction Code) It's complete with branching, subroutines and in many implementations, formatted output. It doesn't enforce odd rules like semi-colons at the end of lines like C or forced indenting like Python. BASIC allows structured programming but it doesn't force it on you. It can be quite small (the first commercially successful microcomputer BASIC fit in 4K) and even a complete implementation can fit in 32K with all the bells and whistles. These days, that's nothing! Also, there's a large base of pre-written programs available. I was a professional BASIC programmer until I retired a couple years ago. The salary was quite good and the job was easy.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Simple Programming Language or Set of Programming Commands - toml_12953 - 10-07-2019 11:56 AM



User(s) browsing this thread: 2 Guest(s)