« first day (1154 days earlier)      last day (1274 days later) » 

5:00 PM
Ok, here's the text (my syntax, in no particular format, but hopefully one my compiler will read):






//<LUPESYNTAX version="1.0"/>
//Last updated: 19/04/14

//--BUILT-IN TYPES
//int Integer
//char Character
//string String (of characters)/text
//bool Boolean /on/off true/false

//--COMPILER INSTRUCTIONS a.k.a Pre-processor Directives -denoted by preceding "#"

//'#auto'
//Put in front of declarations, functions, classes etc., and if they aren't
//being used in the program, they'll not be compiled
 
1 message moved from Lounge<C++>
 
5:43 PM
Ihad an AST like this in mind also: (separate from what we're talking about:parsing):


<declaration>
<function_decl>
returns_value=true
type=int
identifier=add
<params>
<variable_decl>
type=int
identifier=number1
value=
</variable_decl>
<variable_decl>
type=int
identifier=number2
value=
</variable_decl>
</params>
<body>
<variable_decl>
type=int
identifier=ret
value=¬EXP(¬ID:number1 + ¬ID:number2)
</variable_decl>
</body>
</function_decl>
</declaration>
 
1 message moved from Lounge<C++>
 

« first day (1154 days earlier)      last day (1274 days later) »