Ask HN: Do you program in Basic?
Kinda, I&#x27;m currently learning Idris and compilers by writing a CommodoreBASIC compiler that targets the HP 15-C calculator: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;michaelzinn&#x2F;voyc" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;michaelzinn&#x2F;voyc</a><p>Compiler output looks like this:<p><pre><code>  227 IF Q&gt;0 THEN 230......................................................90 1
                                                                           91 0
                                                                           92 8
                                                                           93 CHS
                                                                           94 STO I
                                                                           95 0
                                                                           96 RCL .1
                                                                           97 TEST 7
                                                                           98 GTO I
  228 P=INT(P&#x2F;2)...........................................................99 RCL 9
                                                                           100 2
                                                                           101 &#x2F;
                                                                           102 INT
                                                                           103 STO 9
</code></pre>
So far, I can compile Hammurabi, but I actually haven&#x27;t written any BASIC programs myself yet (except some simple QBasic stuff in the last millennium).<p>I get the games to compile from the old &quot;101 BASIC Computer Games&quot; book: <a href="http:&#x2F;&#x2F;vintage-basic.net&#x2F;games.html" rel="nofollow">http:&#x2F;&#x2F;vintage-basic.net&#x2F;games.html</a>