Better HN
topnewbestaskshowjobs
Log inSign up

knight123

14 karma · joined Mar 23, 2017 (9y ago) · 6 submissions

Submissions

1.

Show HN: Tt v0.5.1 – Python library for truth tables and Boolean expressions(tt.bwel.ch ↗)

2 points · by knight123 · 9y ago · discuss

comment 9y ago · link · parent

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!

comment 9y ago · link · parent

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...

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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/

6.

Show HN: Tt – a Python library/cli for Boolean expressions(github.com ↗)

23 points · by knight123 · 9y ago · 14 comments