knight123
Re:Show HN: Tt – a Python library/cli for Boolean expressions
on Thursday March 23, 2017 @12:57PM (#13941582)
It actually would not be too hard to add a separate parser for S-expressions; this would allow the existing "backend" tooling (converting to postfix, generating trees, filling tables, etc.) to be used unchanged. I actually think this would be a really powerful feature to add; thanks for the idea!
Re:Show HN: Tt – a Python library/cli for Boolean expressions
on Thursday March 23, 2017 @11:10AM (#13940394)
Hi, thanks for taking the time to try it out. The operators can be found in the documentation at:
http://tt.bwel.ch/en/latest/api/definitions.html#tt.definiti...
Admittedly, this is poorly formatted and I'm working on cleaning that up. The definition in the code is a little easier to read and can be found here: https://github.com/welchbj/tt/blob/develop/tt/definitions/op...
Re:Show HN: Tt – a Python library/cli for Boolean expressions
on Thursday March 23, 2017 @10:40AM (#13940099)
Thank you, I appreciate you taking the time to check out the project and point me towards pandoc. It looks like a great starting point for expanding into new output formats.
Re:Show HN: Tt – a Python library/cli for Boolean expressions
on Thursday March 23, 2017 @10:15AM (#13939896)
No, however that is a great idea I had not thought of before that I will add to the roadmap. In the meantime, if you need a somewhat-nicer looking output format, I have a basic web interface setup at http://tt-web.bwel.ch/