You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- <expression(s)> The boolean expression(s) to evaluate
48
-
#### Options: <!-- omit in toc -->
49
-
- -t, --true <true> Character to use for true values in the truth table. [default: 1]
50
-
- -f, --false <false> Character to use for false values in the truth table. [default: 0]
51
-
- -c, --colour-mode, --color-mode <colour-mode> Colour mode to use for the truth table. [default: Foreground][possible values: [Ff]oreground, [Bb]ackground, [Nn]one]
52
-
- --true-colour, --true-color <true-colour> Colour to use for true values in the truth table. [default: green][possible values: 16 ANSI colours, hex string, rgb string]
53
-
- --false-colour, --false-color <false-colour> Colour to use for false values in the truth table. [default: red][possible values: 16 ANSI colours, hex string, rgb string]
46
+
### Options: <!-- omit in toc -->
47
+
-`-o`, `--output`, `--output-type``<Basic|Display>` The output type to use.
54
48
55
-
More usage options to be implemented in the future.
56
49
57
-
For help, run `./BooleanExpressionParser --help`. For help with a specific command, run `./BooleanExpressionParser <command> --help`.
50
+
## Truth table generation
51
+
Converts a boolean expression(s) to prefix notation. If none are provided, the user will be prompted to enter them.
-`<expression(s)>` The boolean expression(s) to evaluate.
57
+
### Options: <!-- omit in toc -->
58
+
-`-t`, `--true``<true>` Character to use for true values in the truth table. [default: 1]
59
+
-`-f`, `--false``<false>` Character to use for false values in the truth table. [default: 0]
60
+
-`-c`, `--colour-mode`, `--color-mode``<Background|Foreground|None>` Colour mode to use for the truth table. [default: Foreground] (possible values: [Ff]oreground, [Bb]ackground, [Nn]one)
61
+
-`--true-colour`, `--true-color``<true-colour>` Colour to use for true values in the truth table. [default: green] (possible values: 16 ANSI colours, hex string, rgb string)
62
+
-`--false-colour`, `--false-color``<false-colour>` Colour to use for false values in the truth table. [default: red] (possible values: 16 ANSI colours, hex string, rgb string)
63
+
64
+
65
+
## Notation conversion
66
+
Converts a boolean expression(s) to prefix notation. If none are provided, the user will be prompted to enter them.
-`<expression(s)>` The boolean expression(s) to convert
72
+
73
+
74
+
More commands to be implemented in the future.
75
+
76
+
For help, run `./BooleanExpressionParser --help`. For help with a specific command, run `./BooleanExpressionParser [command] --help` or `./BooleanExpressionParser --help [command]`.
58
77
59
78
60
79
@@ -137,9 +156,9 @@ For example:
137
156
- [x] Improve console output with colours
138
157
- [x] Implement command line arguments
139
158
- [ ] Add raw output options
140
-
- [] Output prefix notation
159
+
- [x] Output prefix notation
141
160
- [ ] Output specific output for given variables
142
-
- [] Output machine-readable truth table
161
+
- [x] Output machine-readable truth table
143
162
- [ ] Create UI for the application, either web-based or desktop-based
0 commit comments