Well my main "app" is in hiatus. Been working on it off and on forever. Just feels kind of
futile atm. So I decided to take a break and work on something fun, different, and just a breathe of fresh air. A pascal compiler! I guess you can call it my '07 app. Started it in blitz, but blitz is the wrong tool for it, so its in python now =)
http://www.deviantmachine.com/snakepascal/
So far it seems to be moving about nicely. I have a goal of constantly making small improvements. I don't do too much on anyone day, and just work on it in small bite sized chunks. Actually helps alot with the motivation :)
futile atm. So I decided to take a break and work on something fun, different, and just a breathe of fresh air. A pascal compiler! I guess you can call it my '07 app. Started it in blitz, but blitz is the wrong tool for it, so its in python now =)
http://www.deviantmachine.com/snakepascal/
{ Tests various language constructs. }
program MyTestProgram;
var
{type is required, but not recognized yet}
a1 : integer;
b : integer;
c : integer;
fat_cat : animal;
begin
{ if statements currently do nothing, but if you use them they must take this form. }
if true then ;
if false then ;
a1 := 64;
{ nested begin/end blocks are in now }
begin
b := 9;
if true then ;
begin
c := a1 * b;
fat_cat := a1 + b + c;
end;
end;
{ ghetto print operator, until procedures are in }
? fat_cat;
end.
So far it seems to be moving about nicely. I have a goal of constantly making small improvements. I don't do too much on anyone day, and just work on it in small bite sized chunks. Actually helps alot with the motivation :)