Commit graph

29 commits

Author SHA1 Message Date
e8460456e6 Parser - Technical nodes in conditional instructions 2017-11-12 11:13:38 +01:00
abb2c02d61 Compiler - Started work
Committing as I need to make a few adjustments to the AST in order to
simplify things.
2017-11-12 10:50:05 +01:00
84cdfa38de Parser - Initial ugly impl of argument type resolution 2017-11-11 15:05:20 +01:00
4d54ffe9e8 Parser - Improved type checking re: locals 2017-11-11 12:00:20 +01:00
36a3e5e26f Parser - Check local variable declarations 2017-11-11 09:54:38 +01:00
e21e5cefb2 Parser - Type checking 2017-11-11 09:18:45 +01:00
d944ff80f3 Parser - Clean-up in AST node definitions 2017-11-10 23:09:36 +01:00
7abf50ae61 Minor fixes to previous commit
* Restrict clear to frame
* Restrict viewport to frame, as it used to be
* Moved viewport clearing to render code
2017-11-10 22:12:24 +01:00
b98c2247ae Parser - clear instruction 2017-11-10 22:09:24 +01:00
a455f2ad40 Parser - main-output instruction 2017-11-10 21:56:28 +01:00
e0929d6ec4 Parser - Local variable declarations 2017-11-10 21:01:35 +01:00
9515d64400 Parser - Support for LODs in texture and framebuffers 2017-11-10 20:38:17 +01:00
46972c7e60 Parser - Sampler definition instruction 2017-11-10 17:18:29 +01:00
eae82f1f9a Parser - (odbg) instruction 2017-11-10 12:48:57 +01:00
448acdf16b Parser - Framebuffer definition command 2017-11-10 10:15:56 +01:00
d02ab91767 Parser - Support for (uniforms)/(uniforms-i) 2017-11-09 23:20:48 +01:00
9cf7d8c434 Parser - Various new instructions implemented 2017-11-09 18:24:39 +01:00
d83743d072 Parser - Moved prototypes
Prototypes for
-> call graph generation, argument count check
-> enforcement of instruction restrictions
moved to main parser code
2017-11-09 12:13:08 +01:00
b4f448c21f Parser - Moved some constructors to the header 2017-11-08 12:29:03 +01:00
397f1c5c75 Parser - prototype - restrictions on instruction use 2017-11-08 11:48:24 +01:00
14288e3c87 Parser - Prototyping call checks 2017-11-07 13:24:01 +01:00
67b644ac54 Parser - Visitor test 2017-11-07 09:10:17 +01:00
103fbcb6f2 Parser - Input instruction 2017-11-07 07:43:18 +01:00
3f32dd7f6f Parser - Call instruction 2017-11-06 19:00:02 +01:00
9ee16f6989 Parser - Texture declaration instruction 2017-11-06 18:15:56 +01:00
a23dc75ec4 Parser - Conditionals
Structure for conditionals + support for the if instruction
2017-11-06 17:09:05 +01:00
a9bd3cf507 Parser - Expressions
Constants, identifier references, binary and unary ops
2017-11-06 16:38:04 +01:00
ab999d222b Progress on parser 2017-11-06 14:06:21 +01:00
77d46da19a Started working on the AST + parser 2017-11-06 10:15:38 +01:00