Skip to content

Commit 1e51a5a

Browse files
committed
final version of code
1 parent 1a7cd39 commit 1e51a5a

9 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

Interprete.java renamed to src/Interprete.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public String useFunction(ArrayList<String> oexpression){
175175
}
176176
}
177177
//---
178-
178+
//System.out.println(instrucciones);
179179
//--- Realizar acciones
180180
ArrayList<String> evaExpression = convertToArrayList(instrucciones);
181181
ArrayList<String> newInstructions = new ArrayList<String>();
File renamed without changes.

Scan.java renamed to src/Scan.java

File renamed without changes.
File renamed without changes.
File renamed without changes.

lispProgram.lsp renamed to src/lispProgram.lsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
(print var)
2121
(defun name x,y (print x) (print y))
2222
(name (var 5))
23-
(defun fact x (Cond (equals x 0) (print 1) (* x fact (- 1 x))))
23+
(defun fact x (Cond (equals x 1) (print 1) (* x fact (- 1 x))))
2424
(fact (6))

0 commit comments

Comments
 (0)