Arithmetic evaluation: Difference between revisions
Content added Content deleted
(→{{header|Prolog}}: Python added) |
(→{{header|Ada}}: Incorrect heading) |
||
Line 8: | Line 8: | ||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
{{incorrect|Ada}} |
|||
Example does not produce an AST. Instead it produces a postfix version of the code |
|||
that it is able to evaluate. |
|||
This example is produced in several packages. The first package provides a simple generic stack implementation employing a controlled type. Controlled types are automatically finalized during assignment and when the variable goes out of scope. |
This example is produced in several packages. The first package provides a simple generic stack implementation employing a controlled type. Controlled types are automatically finalized during assignment and when the variable goes out of scope. |
||