DiODeProject / DiODeProject/MuMoT

Use parser library in parseModel

Open
#199 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
24
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Logic in parseModel could potentially be greatly simplified if a 3rd-party parser generator were used: you could supply a parser generator with a grammar to get back a parser then run this on the input string and get back a structured object representing the tokenised set of rules. A list of parser generators: http://www.wikiwand.com/en/Comparison_of_parser_generators. The key thing will be to determine what class of grammar needs parsing (regular, context free, context sensitive etc).

I had a brief look at arpeggio, which seems to have a simple API: http://www.igordejanovic.net/Arpeggio/stable/tutorials/calc/.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.