summaryrefslogtreecommitdiff
path: root/chapter25/docs/examples
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-08-20 12:28:35 -0700
committerCliff Click <cliffc@acm.org>2026-08-20 12:28:35 -0700
commitede907775db2df00c0c99a7bc3f2994782125d67 (patch)
tree5b676781e64dbfb2f0a660b1e2d506da7d4d9754 /chapter25/docs/examples
parent3568f3deed586327f885ac98b73d07ae3ade6e57 (diff)
downloadSimple-ede907775db2df00c0c99a7bc3f2994782125d67.tar.gz
Simple-ede907775db2df00c0c99a7bc3f2994782125d67.zip
Squashed commit of the following:
commit a00bfc643e834498b020eb47ee37da4a17cf6e39 Author: Cliff Click <cliffc@acm.org> Date: Thu Aug 20 12:27:52 2026 -0700 Add a emacs Simple.el mode commit b5b399e16038d20ba6928aa329268b229b90e2f7 Author: Cliff Click <cliffc@acm.org> Date: Thu Aug 20 11:37:17 2026 -0700 Tone down expensive asserts Put the expensive asserts on a log-scale flag, run them only once every 2^N attempts
Diffstat (limited to 'chapter25/docs/examples')
-rw-r--r--chapter25/docs/examples/A_helloWorld.smp1
-rw-r--r--chapter25/docs/examples/BubbleSort.smp1
-rw-r--r--chapter25/docs/examples/Capitalize.smp1
-rw-r--r--chapter25/docs/examples/Dijkstra.smp1
-rw-r--r--chapter25/docs/examples/FileIO.smp1
5 files changed, 0 insertions, 5 deletions
diff --git a/chapter25/docs/examples/A_helloWorld.smp b/chapter25/docs/examples/A_helloWorld.smp
index ac399661..4ed6abdf 100644
--- a/chapter25/docs/examples/A_helloWorld.smp
+++ b/chapter25/docs/examples/A_helloWorld.smp
@@ -1,3 +1,2 @@
-// -*- mode: java; -*-
sys.io.p("Hello, World!\n");
return 0;
diff --git a/chapter25/docs/examples/BubbleSort.smp b/chapter25/docs/examples/BubbleSort.smp
index 7327e461..ef92c29e 100644
--- a/chapter25/docs/examples/BubbleSort.smp
+++ b/chapter25/docs/examples/BubbleSort.smp
@@ -1,4 +1,3 @@
-// -*- mode: java; -*-
// An implementation of
// https://sampleprograms.io/projects/bubble-sort/
diff --git a/chapter25/docs/examples/Capitalize.smp b/chapter25/docs/examples/Capitalize.smp
index 72b5df70..8e31c18f 100644
--- a/chapter25/docs/examples/Capitalize.smp
+++ b/chapter25/docs/examples/Capitalize.smp
@@ -1,4 +1,3 @@
-// -*- mode: java; -*-
// An implementation of
// https://sampleprograms.io/projects/capitalize/
diff --git a/chapter25/docs/examples/Dijkstra.smp b/chapter25/docs/examples/Dijkstra.smp
index 57e1fad4..d2f1dc4f 100644
--- a/chapter25/docs/examples/Dijkstra.smp
+++ b/chapter25/docs/examples/Dijkstra.smp
@@ -1,4 +1,3 @@
-// -*- mode: java; -*-
// An implementation of
// https://sampleprograms.io/projects/dijkstra/
diff --git a/chapter25/docs/examples/FileIO.smp b/chapter25/docs/examples/FileIO.smp
index 29f037bd..6966755a 100644
--- a/chapter25/docs/examples/FileIO.smp
+++ b/chapter25/docs/examples/FileIO.smp
@@ -1,4 +1,3 @@
-// -*- mode: java; -*-
// An implementation of
// https://sampleprograms.io/projects/file-input-output/