Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/jsiek/deduce
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiek committed Jan 28, 2025
2 parents 57170f1 + cb4243c commit a0ea2ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions doc/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ defines a variable `world`, and prints it out.

To run it, type the following command, or use the run functionality
provided by your deduce editor.

```
python deduce.py hello.pf
```

You should see the output

```
hello
hello.pf is valid
Expand Down
14 changes: 5 additions & 9 deletions gh-pages/pages/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,11 @@ <h2 id="running-deduce-programs">Running Deduce Programs</h2>
<p>This program defines a new union type called <code class="inline">Greeting</code>,
defines a variable <code class="inline">world</code>, and prints it out.</p>
<p>To run it, type the following command, or use the run functionality
provided by your deduce editor.
!!!
python deduce.py hello.pf
!!!</p>
<p>You should see the output
!!!
hello
hello.pf is valid
!!!</p>
provided by your deduce editor.</p>
<div class="code-wrapper non-deduce"><code>python&nbsp;deduce.py&nbsp;hello.pf</code></div>
<p>You should see the output</p>
<div class="code-wrapper non-deduce"><code>hello<br>
hello.pf&nbsp;is&nbsp;valid</code></div>
<h3 id="command-line-arguments">Command Line Arguments</h3>
<p>The <code class="inline">deduce.py</code> script supports certain command line arguments which
are documented below. If an argument is not preceded by one of the
Expand Down

0 comments on commit a0ea2ed

Please sign in to comment.