Any file in InspectusProgLanguage project folder named main.txt will be our main class.
You can find examples of our programming language in Examples folder.
If you want to use the Runnable.jar file to run your main.txt then:
1. Open the InspectusProgLanguage project folder.
2. use (ShiftKey)+(RightClick) and select (Open command window here).
3. Write down 'java -jar Runnable.jar' and hit 'Enter'.
An operation contains: Operators/(TRUE/FALSE)/Variables
Operator's priority: Usage
Brackets: (...)
Not: !...
And: ...AND...
Or: ...OR...
Xor: ...XOR...
Implication: ...->...
Equivalent: ...EQ...
Assign: 'varName' = ...
Functions: Usage
print: print 'operation'
AFTER EACH OPERATION USE ';'.
VALUES:
_________
| x | ! |
| 0 | 1 |
| 1 | 0 |
|-------|
____________________________________
| x | y | AND | OR | XOR | -> | EQ |
|-----------------------------------
| 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 1 | 1 |
|-----------------------------------
Source: https://en.wikipedia.org/wiki/Boolean_algebra
-
Notifications
You must be signed in to change notification settings - Fork 0
cmoutafidis/Inspectus
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published