Skip to content

SteveDiamond/parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To interact with the parser, first write a file containing expressions of the following form:
  variable x y z ...
  parameter (positive|negative) a b c ...
  Any objective (i.e. '-log(x) + max(square(y),a) + b*z')

See sample.txt for an example.

Run demo.py and follow the instructions. You will then be able to browse the parse trees for the objectives in the file.

Releases

No releases published

Packages

No packages published

Languages