Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2020 (3)
20082026
  1. …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
  2. …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
  3. …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
  4. …rather than hard-coding logic in my application. With only a few primitives it becomes very useful! https://github.com/skx/evalfilter