Let’s discuss Agon Light


Author Message
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2540
Posted: 02:00pm 29 May 2023      

The idea of teaching Basic to young people as a programming language seems impractical today as most code would be c or c+. My 8 year old grandson is starting to learn java but has created a web page and a simple game called zombie in something called scrtch ... not scratch, so my son said. He's learning java next. He's 8.
Do we use Basic because we learnt it in the 80's? I do.
If mmbasic ran on 8bit pics it would be like picaxe. The same pic say a 18f25k22, which picaxe called a x2, when programmed with gcbasic, which is compiled, ran 10 times? faster. Mmbasic is using the 32bit rpi for it's interpreted basic speed. It works and is the best for price option for hobbyists and a stand alone home made device.
I wish I could write a compiler. Some I've used are 2 pass and the idea how it works.
Gcbasic creates an .asm file when you flash hex and the assembler produced is weird, seems to use subs as it has to work on as many pics and atmega, which is microchip anyway now, as possible.