Tag: Domain-specific language
-
Struggling
Been a while since I’ve written here – been avoiding writing about politics, which has obviously not been so great for me in the last couple of weeks… but now I have something else to ruminate on. I have reached a milestone, or perhaps basecamp, in my PhD research: having a model for memory management…
-
A problem with Life
I had hoped to “launch” BINSIC – Binsic Is Not Sinclair Instruction Code – my BASIC-as-a-DSL project built using Groovy, this weekend. For the launch I wanted to publish a jar file (so usable by everyone with Java) that ran the version of Conway’s Game of Life (seemed very appropriate for both general – Life…
-
BINSIC almost done
BINSIC, my BASIC-as-a-DSL, is almost complete now, though I am rather ashamed at the first big program I used to test it – I just grabbed it off an archive of content from the legendary Basic Computer Games and did not look too closely at what it was about.
-
The expressive power of BASIC
As I have been working on BINSIC – my reimplementation of BASIC as a domain specific language via Groovy– I have been increasingly struct by how unbelievably awful BASIC is (at least in the ZX80/ZX81 dialect that I am basing all this on). My memories of it are of a fun language where it was…
-
Progress with BINSIC
BINSIC – Binsic Is Not Sinclair Instruction Code – my effort to re-implement Sinclair ZX80/ZX81 BASIC as a domain specific language via Groovy (and eventually a runnable Java JAR file), is making more progress. Right now it supports: IF … THEN … ELSE GOTO GOSUB … RETURN LET FOR … TO … STEP … NEXT…
-
Just like 1980
There have been (conservatively) 16 “Moore generations” since 1980 – that is to say computing speed should have increased by – approximately 4 million times. But computation requirements grow to fill the computing power available and BINSIC now runs at about the same speed, when executing the same code, as my ZX80 did when hacking…
-
Line numbers problem solved, after a fashion
I am currently working on BINSIC – Binsic Is Not Sinclair Instruction Code – a reimplementation of ZX80/ZX81 BASIC in the form of a “domain specific language” coded in Groovy. The biggest problem so far has been the issue of GOTOs and line numbers. BASIC, at least classic BASIC, relied on line numbers and GOTO…
-
Another software death march begins…
I have a new software project now … BINSIC … Binsic Is Not Sinclair Instruction Code. Instead Binsic is my attempt to reimplement Sinclair’s ZX80/ZX81 BASIC (with a few pieces that were deeply frustrating through their absence all those years ago) as domain specific language using Groovy. I have spent a fair bit of yesterday…
-
BASIC as a domain specific language
A few posts back I was bemoaning the end of the simplicity of the BASICs I used thirty years ago – then I could just write a few lines to visually solve an equation and so on. That got me thinking about how to recreate that as domain specific language (DSL) – writing some other…