HNHacker News
TopNewBestAskShowJobs

knight123

14 karma · joined March 23, 2017

submissionscomments
knight123··on Show HN: Tt – a Python library/cli for Boolean expressions
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!
knight123··on Show HN: Tt – a Python library/cli for Boolean expressions
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...

knight123··on Show HN: Tt – a Python library/cli for Boolean expressions
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.
knight123··on Show HN: Tt – a Python library/cli for Boolean expressions
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/