newRPL: Making RPL more readable
|
12-05-2016, 03:57 PM
Post: #9
|
|||
|
|||
RE: newRPL: Making RPL more readable
(12-04-2016 08:37 PM)ColinJDenman Wrote: Perhaps the issue is more one of improving presentation rather than altering syntax and semantics. first work on the language (syntax and semantics) then on the presentation (pretty-print) What do you think of what I propose? 1: Sentence body between keywords :: ... ; => BLOCK ... ENDBLOCK 3: Syntax as PN (prefix notation) only for declarations and definitions of vars, not IN (infix notation) LOCAL { z a } { 0 1 } LOCAL { a b c d e f g ... } 0 @ Assigns to all variables the value of 0 { 0, 1 } { z, a } -> In place of 0 1 -> z a @ IN (infix notation) 4: static vars « STATIC 'z' 0 STATIC 'a' 1 BLOCK .... ENDBLOCK » |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)