|
|
@@ -2284,7 +2284,7 @@ plot data using 1:2 with lines
|
|
|
|
|
|
|
|
|
* Bugs [24/36]
|
|
|
-** TODO Fix nested evaluation
|
|
|
+** STARTED Fix nested evaluation
|
|
|
The current parser / evaluator fails with greater levels of nested
|
|
|
function block calls (example below).
|
|
|
|
|
|
@@ -2533,8 +2533,8 @@ a+b
|
|
|
#+end_src
|
|
|
|
|
|
#+resname: adder
|
|
|
-: 99
|
|
|
|
|
|
+: 99
|
|
|
|
|
|
#+srcname: one()
|
|
|
#+begin_src python :results silent
|
|
|
@@ -2547,9 +2547,19 @@ a+b
|
|
|
arg
|
|
|
#+end_src
|
|
|
|
|
|
+#+resname:
|
|
|
+: 4
|
|
|
+
|
|
|
+#+srcname: level-one-nesting
|
|
|
+#+begin_src python :var arg=adder(a=adder(a=one(),b=one()),b=adder(a=one(),b=one()))
|
|
|
+arg
|
|
|
+#+end_src
|
|
|
+
|
|
|
#+resname:
|
|
|
: 99
|
|
|
|
|
|
+*** TODO deeply nested arguments still fails
|
|
|
+
|
|
|
#+srcname: level-one-nesting
|
|
|
#+begin_src python :var arg=adder(a=adder(a=one(),b=one()),b=adder(a=one(),b=one()))
|
|
|
arg
|
|
|
@@ -2558,6 +2568,10 @@ arg
|
|
|
#+resname:
|
|
|
: 99
|
|
|
|
|
|
+results in this error
|
|
|
+
|
|
|
+: progn: reference 'one(' not found in this buffer
|
|
|
+
|
|
|
** TODO allow srcname to omit function call parentheses
|
|
|
Someone needs to revisit those regexps. Is there an argument for
|
|
|
moving some of the regexps used to match function calls into
|