Initial commit

This commit is contained in:
2024-09-06 18:00:26 +02:00
parent 235bb8e37d
commit 09f5d17a59
9 changed files with 53 additions and 0 deletions
+1
View File
@@ -24,3 +24,4 @@
hs_err_pid*
replay_pid*
sources.txt
+9
View File
@@ -0,0 +1,9 @@
// import java.lang.reflect.Method;
import java.util.*;
public class Main {
public static Stack<Stackitem<?>> S = new Stack<>();
public static void main(String[] args){
// S.push(new Stackitem<Double>("Double",4));
}
}
+8
View File
@@ -0,0 +1,8 @@
public class Stackitem<T> {
public String type;
public T value;
public Stackitem(String itemType, T val){
type = itemType;
value = val;
}
}
+2
View File
@@ -0,0 +1,2 @@
dir /s /B *.java > sources.txt
javac @sources.txt
+5
View File
@@ -0,0 +1,5 @@
package functions;
public class NumberCreate {
}
+7
View File
@@ -0,0 +1,7 @@
package operators;
public class And {
public And(Boolean first, Boolean second){
}
}
+7
View File
@@ -0,0 +1,7 @@
package operators;
public class Minus {
public Minus(Double first, Double second){
}
}
+7
View File
@@ -0,0 +1,7 @@
package operators;
public class Or {
public Or(Boolean first, boolean second){
}
}
+7
View File
@@ -0,0 +1,7 @@
package operators;
public class Plus {
public double Plus(Double first, Double second){
return first + second;
}
}