Expr package provides an engine that can compile and evaluate expressions. An expression is a one-liner that returns a value (mostly, but not limited to, booleans). It is designed for simplicity, speed and safety. The purpose of the package is to allow users to use expressions inside configuration for more complex logic. It is a perfect candidate for the foundation of a business rule engine. The idea is to let configure things in a dynamic way without recompile of a program.

Features

  • Seamless integration with Go (no need to redefine types)
  • User-friendly error messages
  • Reasonable set of basic operators
  • Builtins all, none, any, one, filter, map
  • Static typing
  • Fast (benchmarks): uses bytecode virtual machine and optimizing compiler

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Expr

Expr Web Site

Other Useful Business Software
Streamline Hiring with Skill Assessments Icon
Streamline Hiring with Skill Assessments

Say goodbye to hiring guesswork. Use Canditech’s job simulation tests to assess real-world skills and make data-driven decisions.

Canditech offers innovative, cheat-proof skill assessments and job simulations to transform your hiring process. From technical skills to soft skills, we help you assess candidates on actual job performance. With over 500 customizable tests and powerful video interview features, you can evaluate real-world capabilities, streamline your hiring, and reduce biases. Whether you’re hiring for remote roles, mass hiring, or looking to expand your diversity pool, Canditech’s data-driven platform ensures the right candidates are chosen for the job every time.
Get a Free Demo
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Expr!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-16