Commits

Author Commit Message Labels Comments Date
Anteru
Update Readme.
Anteru
Update copyright years.
Anteru
Add a bunch of unit tests.
Anteru
Add basic operator type handling. Binary expressions now compute the correct expression type, allowing the implicit cast pass to fix up any mixed expression types.
Anteru
Update ignores.
Anteru
Fix relative imports and add a test runner.
Anteru
Fix various warnings.
Anteru
Set permissions and add shebang line to nsl.py.
Anteru
Various cleanups.
Anteru
Enable matrix4x4*float4.
Anteru
Add a compute shader type.
Anteru
Add an implicit cast visitor. The implicit cast visitor adds implicit casts wherever necessary.
Anteru
Don't duplicate nodes in the AST. Various expression derived classes stored the data in member variables and copied them into the base class, making modification impossible. Only store each node once and add setters in various places.
Anteru
Remove unnecessary isinstance calls and handle mixed type expressions. Binary expressions can contain mixed types like vector/scalar, matrix/vector, etc. which have not been handled correctly.
Anteru
Fix floating point parsing.
Anteru
Remove unnecessary assertion.
Anteru
Use collections abc instead of ad-hoc testing for list, dict, etc.
Anteru
Remove FreeBSD clause from COPYING.
Anteru
Add Readme and COPYING information.
Anteru
Add the type debug printer (was missing in last commit.)
Anteru
Add a new debug printer for types.
Anteru
Add lots of string converters; move DebugVisitor into passes and remove duplicate code.
Anteru
Fix PrettyPrinter not printing the return type of a shader.
Anteru
Add support for primitive type constructors.
Anteru
Add support for array type declarations and access. Also cleaned up the error handling a bit.
Anteru
Ignore __pycache__ folders.
Anteru
Add ignore file.
Anteru
Initial import.