Difference between revisions of "PLC Laboratory 1"
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
plus x y = x + y + 'a' | plus x y = x + y + 'a' | ||
</syntaxhighlight > | </syntaxhighlight > | ||
| + | |||
* Output | * Output | ||
| + | <syntaxhighlight lang="Shell" > | ||
| + | doubleMe x = x * x | ||
| + | |||
| + | plus x y = x + y + 'a' | ||
| + | </syntaxhighlight > | ||
Revision as of 11:58, 25 January 2022
Interpreter of Arithmetic Expressions
Example
- Input
doubleMe x = x * x
plus x y = x + y + 'a'
- Output
doubleMe x = x * x
plus x y = x + y + 'a'