stackgl / glsl-parser

transform streamed glsl tokens into an ast
MIT License
98 stars 15 forks source link

Handle stream errors gracefully #6

Closed hughsk closed 10 years ago

hughsk commented 10 years ago

Now should catch and emit errors from lib/expr.js, avoid infinite loops on unclosed braces, and stop emitting data after running into an error.

Fixes #5, and stops glslify from crashing the workshopper when running into syntax errors. Thanks! :)

chrisdickinson commented 10 years ago

This looks great! Thanks.

chrisdickinson commented 10 years ago

Published as v1.0.0!