sybila / eBCSgen

eBCSgen - BioChemical Space Language support tool.
https://ebcsgen.readthedocs.io/
MIT License
2 stars 4 forks source link

Grammar improvements #34

Closed xtrojak closed 2 years ago

xtrojak commented 2 years ago

This PR covers several smaller issues found by users.

xtrojak commented 2 years ago

Artificial model where all the new features are present

#! rules
r1_T ~ A(T{i}).B()::cell => A(T{a}).B()::cell
r1_S ~ A(S{i}).another_one::cell <=> A(S{a}).another_one::cell 
r2 ~ A()::cell => A()::out 
r1_S2 ~ S{i}:A():another_one::cell => S{a}:A():another_one::cell

#! complexes
random = A().B()
another_one = random.C()