summaryrefslogtreecommitdiffstats
path: root/eshtrans/eshrt/eshrtend.esh
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans/eshrt/eshrtend.esh')
-rw-r--r--eshtrans/eshrt/eshrtend.esh27
1 files changed, 27 insertions, 0 deletions
diff --git a/eshtrans/eshrt/eshrtend.esh b/eshtrans/eshrt/eshrtend.esh
new file mode 100644
index 0000000..34cb7e1
--- /dev/null
+++ b/eshtrans/eshrt/eshrtend.esh
@@ -0,0 +1,27 @@
+# Eggshell runtime library
+#
+# Copyright (C) 2016 Patrick "P. J." McDermott
+#
+# This file is part of the Eggshell Compiler.
+#
+# The Eggshell Compiler is free software: you can redistribute it
+# and/or modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, either version 3 of
+# the License, or (at your option) any later version.
+#
+# The Eggshell Compiler is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with the Eggshell Compiler If not, see
+# <http://www.gnu.org/licenses/>.
+
+use nostack
+
+unset IFS
+for __func in ${__init_funcs}; do
+ ${__func}
+done
+${__entry} "${@}"