Skip to content

Simple parser to build custom macro support in an application

Notifications You must be signed in to change notification settings

samirkut/Macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Macros

This is a simple library to parse expressions and evaluate them. A typical use case would be to provide a macro like functionality in an application.

Installation

The easiest way is to install via Nuget. Check out Nuget for more details on how to do this.

Examples

For example, the following code sample will generate a result of 15

var runner = new Runner();
runner.Scope.SetVariable(x, 5);

var result = runner.Evaluate("x+10");

There is also support for custom functions.

About

Simple parser to build custom macro support in an application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published