Skip to content

gabordemooij/xoscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

417 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xoscript

Welcome to xoscript.

xoscript is a simple scripting language to quickly develop (server-side) applications.

Example:

Out write: ['Hello world'], stop.

To run this program:

xo hello.xo

To run one of the example programs in the package:

./example.sh <name> <Linux/Win64> [clean]

For example, to run the FizzBuzz example on Linux:

./example.sh fizzbuzz Linux

To run the same example on OpenBSD:

./example.sh fizzbuzz OBSD

To run the example with a clean build:

./example.sh fizzbuzz OBSD clean

To run the unit tests:

./runtests.sh

To run the unit test without building (just testing):

./runtests.sh nobuild

On OpenBSD:

./runtests_obsd.sh nobuild

Binary distributions are available from the website: https://xoscript.com

To build from source on Linux:

make clean
ISO="en" make

On OpenBSD:

gmake -f makefile.obsd clean
ISO="en" gmake -f makefile.obsd

To build the server plugin on Linux:

PACKAGE="server" NAME="server.so" make plugin-clean
ISO="en" PACKAGE="server" NAME="server.so" make plugin

To build the server plugin on OpenBSD:

PACKAGE="server" NAME="server.so" gmake -f makefile.obsd plugin-clean
ISO="en" PACKAGE="server" NAME="server.so" gmake -f makefile.obsd plugin

About

scripting language

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages