skx/evalfilter
View on GitHub ↗ ★ 119 Go archived
A bytecode-based virtual machine to implement scripting/filtering support in your golang project.
5 mentions on Hacker News by 1 person: 1 story, 4 comments · first 2019-09-19 · latest 2020-12-11
20082026
-
…time I've found uses for it processing email, scripting simple actions on my desktop, and more. https://github.com/skx/evalfilter/ These kind of things are pretty simple to write, but sometimes I almost think it is a shame there isn't…
comment by stevekemp · 2020-12-11 · in Common Expression Language -
…found along the way, but the actual implementation of this optimization pass was pretty simple: https://github.com/skx/evalfilter/pull/66/files The biggest issue I had to face was that "1 + 3 => 4" is trivial, but my virtual machine only…
comment by stevekemp · 2020-05-23 · in One-pass Compiler -
…A similar idea allows embedded usage of a scripting language, as a filter: https://github.com/skx/evalfilter/ Of course it gets addictive writing little languages, so you'll probably want to have fun and try making more! I went with
comment by stevekemp · 2020-05-06 · in Show HN: I wrote a VM and Compiler for a small language in Go -
…rather than hard-coding logic in my application. With only a few primitives it becomes very useful! https://github.com/skx/evalfilter
comment by stevekemp · 2019-09-30 · in Show HN: Shy – A Shunting Yard Rules Engine in Rust