From 2f7c999bf91b79eb53ed926a12b2c97fcb2800b8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 28 Feb 2016 15:59:29 -0500 Subject: eshtrans: Add eshrt --- (limited to 'eshtrans/eshrt/eshrtend.esh') 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 +# . + +use nostack + +unset IFS +for __func in ${__init_funcs}; do + ${__func} +done +${__entry} "${@}" -- cgit v0.9.1