feat: change up organisation

This commit is contained in:
2023-04-24 11:02:37 +08:00
parent 13f372ec5a
commit dd56398b7d
378 changed files with 4653 additions and 107 deletions

View File

@@ -0,0 +1,21 @@
/**
* Represents a conditional type.
* CS2030S Lab 5
* AY20/21 Semester 2
*
*/
interface Cond {
/**
* Evaluates the given conditional.
*
* @return the boolean result of the evaluation
*/
boolean eval();
/**
* negates the value of the conditional, without evaluating it.
*
* @return a new conditional, with the negated value
*/
Cond neg();
}