Skip to content

0.7.0

Choose a tag to compare

@pema99 pema99 released this 11 Feb 18:55
· 21 commits to master since this release
  • Changed the arguments to AttributeNode to be of type ExpressionNode rather than LiteralExpressionNode. This allows the parser to handle attributes like [numthreads(1+1, 2, 3)]. This is a minor breaking change.
  • Added [DebuggerStepThrough] to most methods in HLSLSyntaxVisitor and ShaderLabSyntaxVisitor. This should make stepping through visitor implementations with a debugger less painful.
  • Fixed a bug where compound declarations like int a = 3, b = 4; were parsed incorrectly. (#11)
  • Fixed a bug where scientific float literals were being incorrect parsed as integers.
  • Added support for char variable declarations.
  • Fixed a null reference exception when passing no tokens to the constructor for HLSLSyntaxNode.