Commit graph

8 commits

Author SHA1 Message Date
fc69969099 Refactor packages layout using inferred-packages-system 2015-12-27 17:09:05 +01:00
c910a4ce1f Implement a new shader definition system
Use a Domain Specific Language to define shaders in common-lisp syntax.
The code is then walked and compiled into glsl expressions and stored in
easy to use structures.

At the program initialization, the shader programs are compiled into opengl.

Dependencies are also kept, so that if a shader is redefined, the
corresponding program will be recompiled into opengl.

The old glsl-compiler is deleted as it is now rendered useless.

The render and mesh code are fixed according to changes in the interface.
2015-05-05 14:07:32 +02:00
1c1862dd6d Handle more operations and wrap in main function
Add handlers for infix operations (+ - * / %) and assignments.
Wrap the resulting code in a main function.
Prepare for the lambda-list processing
2015-03-29 19:02:59 +02:00
f8c1db2192 Add helpers for let handler 2015-03-25 23:25:25 +01:00
f12a8076d0 Add a simple handler for `let' 2015-03-25 17:37:27 +01:00
906d165556 Enhance the genericity of the walker 2015-03-22 22:39:39 +01:00
927aa91f93 Fix utf-8 encoding 2015-03-22 22:30:55 +01:00
64a7d83e80 Add the first part of a code walker for the shader dsl 2015-03-20 16:44:37 +01:00