@@ -141,7 +141,7 @@ point of view, a language syntax is nothing but a finite set of `KLabel`
141141constants. The ` kast ` tool can be used to parse a program and see its
142142KAST form. By running
143143
144- $ kompile simple-untyped.k
144+ $ kompile simple-untyped.k --backend java
145145 $ kast tests/diverse/factorial.simple
146146
147147from the [ tutorial/2_languages/1_simple/1_untyped] ( /tutorial/2_languages/1_simple/1_untyped )
@@ -169,11 +169,18 @@ behaviors. What the `krun` tool basically does is:
169169
170170To run our sample program ` factorial ` , all we need to do is:
171171
172- $ kompile simple-untyped.k
172+ $ kompile simple-untyped.k --backend java
173173 $ krun tests/diverse/factorial.simple --output none
174174 Input a natural number: 5
175175 Factorial of 5 is: 120
176176
177+ The ` --backend java ` option tells the ` kompile ` tool to compile
178+ the definition using the K backend written in Java. This is
179+ the backend for which the tutorial is written, so all tutorial
180+ lessons should be compiled with this argument. If you do
181+ not specify this argument, you use the default Maude backend,
182+ which is more mature and supports more features at this time.
183+
177184The ` --output none ` option tells ` krun ` to not display the
178185configuration. Instead, it only displays output produced by the
179186program. Try running it without this option to see the resulting
0 commit comments