/* * Scol Voyager * * Author : The Scol Team : http://www.scolring.org/ * * This file is a part of the Scol Voyager * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * This program 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307, USA, or go to * http://www.gnu.org/copyleft/lesser.txt * * For others informations, please contact us from http://www.scolring.org/ * */ /* * Update 2014 12, 16 : S.BISARO ($IRI) : new tree files * */ typeof env_ref = Env;; defcom Smain = main I;; /*! \brief Main function. * * It is the first function called by the VM, once loaded * * \param I : port number to allow Scol to listen on the network interface. * By default, this port is 1200 * * \return I : always 0 */ fun main (p)= set env_ref = _envchannel _channel; _load "lib/std/stdlib.pkg"; _load "lib/std/list.pkg"; _load "lib/loc/loc.pkg"; _load "lib/locked/lib/treeedit.pkg"; _load "lib/locked/lib/textedit.pkg"; _load "lib/locked/var.pkg"; _load "lib/locked/common.pkg"; _load "lib/locked/update.pkg"; _load "lib/locked/masterse.pkg"; _load "lib/std/list.pkg"; _load "lib/locked/voyager/settings.pkg"; _load "lib/locked/voyager/addressbar.pkg"; _load "lib/locked/voyager/about.pkg"; _script mkscript Smain [p]; 0;;