Skip to content

xcasadio/TinyParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyParser -A tiny parser developed in C#

Features:

  • Mathematics operators : +, -, *, /, ==, !=, <, >, <=, >=, &&, ||
  • Function function_name=arg1,arg2,...
  • Keywords

The functions and the key words are evaluated by a delegate that you pass to the Parser.

Examples:

  • "1 + 1" returns 2
  • "10 / 5" returns 2
  • "1 != 2" returns 1
  • "1 < 2" returns 1
  • "some_function="true"" returns 1
  • "keyword_equals_to_0" returns 0

About

A light parser in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages