Home | Reviews | GUIpedia | Forum | Fun500
Jason | Language Syntax ProposalIch habe a few language syntax proposals for Adrenochrome. I was wondering which would be most appropriate. The compiler will always output as the same format so the Drencrom files read by the kernel won't be a problem. Here are the proposals in a simple "Hello World" format: Proposal #1 :Start LET Counter = Counter + 1 TEXT Counter, Counter, "Hello World!", &H111111 * Counter IF Counter = 600 - 16, "Restart" GOTO "Start" :Restart LET Counter = 0 GOTO "Start" Proposal #2 :Start Counter;LET(Counter+1) TEXT(Counter,Counter,"Hello World!",&H111111*Counter) IF(Counter,"=",600-16,"Restart") GOTO("Start") :Restart Counter;LET(0) GOTO("Start") | 2010-10-31 | 12:27 AM |
Todd | Re:Language Syntax ProposalIt looks like the program will just keep looping and printing "Hello World" on the screen. Why not just do something like BASIC:
DO PRINT "HELLO WORLD" WHILE 1 Or something more like a byte-code Assembler-like language: LOAD BUF, "Hello World" LOOP: CALL PRINT JUMP LOOP | 2010-10-31 | 2:10 AM |
HorvatM | Re:Language Syntax ProposalThe first one. Parantheses just add unnecessary clutter. | 2010-10-31 | 7:46 PM |
2021 Brandon Cornell