Skip to content

markisus/zig-infix-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Create an expression object at comptime.

const E = CompileExpression("x*(x+1)*y-3*y");

Now execute that expression at runtime by binding variables with an anonymous struct.

const result : f64 = E.eval(.{ .x=1.234, .y=3.456 });

About

Parse comptime infix strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages