Skip to content

Header only c++ expression parsing library with AST building and GLSL shader generation

License

Notifications You must be signed in to change notification settings

Shootfast/expressions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expressions

Header only c++ expression parsing library with AST building and GLSL shader generation. Optional LLVM JIT evaluation for improved performance.

MIT licensed

Syntax

The supported expression syntax is similar to C (without bitwise operations). At present the supported operations are:

  1. Mathematical: +, -, *, /, %, ^
  2. Ternary: ? :
  3. Equality: ==, !=, <, <=, >, >=
  4. Logical: &&, ||
  5. Functions: sin, cos, tan, sqrt, ceil, floor, min, max, pow, log, log2, log10

About

Header only c++ expression parsing library with AST building and GLSL shader generation

Resources

License

Stars

Watchers

Forks

Packages

No packages published