about summary refs log tree commit diff stats
path: root/html/examples
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-27 18:26:18 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-27 18:26:18 -0700
commitc8a3ccbeb89221d726542a89b42ddb26827af1f4 (patch)
tree56cbeba889d66d680069dad7696e835fe611ed64 /html/examples
parenta56d969ec99ef66ab21709b3aa61d49d9a3dfd10 (diff)
downloadmu-c8a3ccbeb89221d726542a89b42ddb26827af1f4.tar.gz
5490
Diffstat (limited to 'html/examples')
-rw-r--r--html/examples/ex1.subx.html4
-rw-r--r--html/examples/ex10.subx.html4
-rw-r--r--html/examples/ex11.subx.html4
-rw-r--r--html/examples/ex12.subx.html4
-rw-r--r--html/examples/ex2.subx.html4
-rw-r--r--html/examples/ex3.subx.html4
-rw-r--r--html/examples/ex4.subx.html4
-rw-r--r--html/examples/ex5.subx.html4
-rw-r--r--html/examples/ex6.subx.html4
-rw-r--r--html/examples/ex7.subx.html4
-rw-r--r--html/examples/ex8.subx.html4
-rw-r--r--html/examples/ex9.subx.html4
12 files changed, 24 insertions, 24 deletions
diff --git a/html/examples/ex1.subx.html b/html/examples/ex1.subx.html
index 9a203cdc..15b7a0de 100644
--- a/html/examples/ex1.subx.html
+++ b/html/examples/ex1.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex1.subx</title>
+<title>Mu - examples/ex1.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -51,7 +51,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex1.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex1.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex1.subx'>https://github.com/akkartik/mu/blob/master/examples/ex1.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># First program: same as <a href="https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html">https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html</a></span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Just return 42.</span>
diff --git a/html/examples/ex10.subx.html b/html/examples/ex10.subx.html
index 4d84ab28..dbe4a83c 100644
--- a/html/examples/ex10.subx.html
+++ b/html/examples/ex10.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex10.subx</title>
+<title>Mu - examples/ex10.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -55,7 +55,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex10.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex10.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex10.subx'>https://github.com/akkartik/mu/blob/master/examples/ex10.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># String comparison: return 1 iff the two args passed in at the commandline are equal.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex11.subx.html b/html/examples/ex11.subx.html
index c8ad42c9..b151ed11 100644
--- a/html/examples/ex11.subx.html
+++ b/html/examples/ex11.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex11.subx</title>
+<title>Mu - examples/ex11.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -58,7 +58,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex11.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex11.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex11.subx'>https://github.com/akkartik/mu/blob/master/examples/ex11.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr">  1 </span><span class="subxComment"># Null-terminated vs length-prefixed ascii strings.</span>
 <span id="L2" class="LineNr">  2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex12.subx.html b/html/examples/ex12.subx.html
index e4ddaee4..684dc278 100644
--- a/html/examples/ex12.subx.html
+++ b/html/examples/ex12.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex12.subx</title>
+<title>Mu - examples/ex12.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -53,7 +53,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex12.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex12.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex12.subx'>https://github.com/akkartik/mu/blob/master/examples/ex12.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Example showing mmap syscall.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Create a new segment using mmap, save the address, write to it.</span>
diff --git a/html/examples/ex2.subx.html b/html/examples/ex2.subx.html
index 8df9abb1..5c0cef8a 100644
--- a/html/examples/ex2.subx.html
+++ b/html/examples/ex2.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex2.subx</title>
+<title>Mu - examples/ex2.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -51,7 +51,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex2.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex2.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex2.subx'>https://github.com/akkartik/mu/blob/master/examples/ex2.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Add 1 and 1, and return the result in the exit code.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex3.subx.html b/html/examples/ex3.subx.html
index 8c0f1642..198fd9c7 100644
--- a/html/examples/ex3.subx.html
+++ b/html/examples/ex3.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex3.subx</title>
+<title>Mu - examples/ex3.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -54,7 +54,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex3.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex3.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex3.subx'>https://github.com/akkartik/mu/blob/master/examples/ex3.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Add the first 10 numbers, and return the result in the exit code.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex4.subx.html b/html/examples/ex4.subx.html
index caa0fe5e..3b637ef6 100644
--- a/html/examples/ex4.subx.html
+++ b/html/examples/ex4.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex4.subx</title>
+<title>Mu - examples/ex4.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -52,7 +52,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex4.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex4.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex4.subx'>https://github.com/akkartik/mu/blob/master/examples/ex4.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Read a character from stdin, save it to a global, write it to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex5.subx.html b/html/examples/ex5.subx.html
index de88308a..13af1b8d 100644
--- a/html/examples/ex5.subx.html
+++ b/html/examples/ex5.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex5.subx</title>
+<title>Mu - examples/ex5.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -53,7 +53,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex5.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex5.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex5.subx'>https://github.com/akkartik/mu/blob/master/examples/ex5.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Read a character from stdin, save it to a local on the stack, write it to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex6.subx.html b/html/examples/ex6.subx.html
index 45c779a6..faedfdfd 100644
--- a/html/examples/ex6.subx.html
+++ b/html/examples/ex6.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex6.subx</title>
+<title>Mu - examples/ex6.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -53,7 +53,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex6.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex6.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex6.subx'>https://github.com/akkartik/mu/blob/master/examples/ex6.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Print out a (global variable) string to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex7.subx.html b/html/examples/ex7.subx.html
index 23d0d31a..6c897547 100644
--- a/html/examples/ex7.subx.html
+++ b/html/examples/ex7.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex7.subx</title>
+<title>Mu - examples/ex7.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -53,7 +53,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex7.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex7.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex7.subx'>https://github.com/akkartik/mu/blob/master/examples/ex7.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr">  1 </span><span class="subxComment"># Example showing file syscalls.</span>
 <span id="L2" class="LineNr">  2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex8.subx.html b/html/examples/ex8.subx.html
index c636cebe..bb689d42 100644
--- a/html/examples/ex8.subx.html
+++ b/html/examples/ex8.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex8.subx</title>
+<title>Mu - examples/ex8.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -55,7 +55,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex8.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex8.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex8.subx'>https://github.com/akkartik/mu/blob/master/examples/ex8.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Example reading commandline arguments: compute length of first arg.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
diff --git a/html/examples/ex9.subx.html b/html/examples/ex9.subx.html
index 61491047..52e78b3a 100644
--- a/html/examples/ex9.subx.html
+++ b/html/examples/ex9.subx.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - subx/examples/ex9.subx</title>
+<title>Mu - examples/ex9.subx</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -54,7 +54,7 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/master/subx/examples/ex9.subx'>https://github.com/akkartik/mu/blob/master/subx/examples/ex9.subx</a>
+<a href='https://github.com/akkartik/mu/blob/master/examples/ex9.subx'>https://github.com/akkartik/mu/blob/master/examples/ex9.subx</a>
 <pre id='vimCodeElement'>
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Example showing arg order on the stack.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>