Difference between revisions of "PLC Laboratory 1"
Jump to navigation
Jump to search
(Replaced content with "= Interpreter of Arithmetic Expressions =") Tag: Replaced |
|||
| Line 1: | Line 1: | ||
| − | = Interpreter of Arithmetic Expressions = | + | == Interpreter of Arithmetic Expressions == |
| + | |||
| + | == Example == | ||
| + | * Input | ||
| + | <syntaxhighlight lang="Bash" > | ||
| + | doubleMe x = x * x | ||
| + | |||
| + | plus x y = x + y + 'a' | ||
| + | </syntaxhighlight > | ||
| + | * Output | ||
Revision as of 11:52, 25 January 2022
Interpreter of Arithmetic Expressions
Example
- Input
doubleMe x = x * x
plus x y = x + y + 'a'
- Output