×

 Site Menu

Downloads
Projects
Résumé


 Favourites

Slashdot
FreshMeat
SourceForge
Linux Kernel
Slackware


NullLogic
 NullLogic Embedded Scripting Language  

NSP sample scripts

_ajax.nsincluded file used to add AJAX functions
_cards.nsincluded file used to define playing cards
ansi.nssimple ANSI codes
class.pop3.nsClass file providing POP3 client support
coroutines.nssimple test of experimental coroutine support
current.nsdownload latest test release of NSP (via http)
dirhash.nsfinds all changed files in two directory trees, including cryptographic hashes of file contents
factorial.nscalculates the factorial of a number
fbsql.nsFirebird SQL example
fnmap.nsCreate a list of all functions in memory.
hello.nsthe first program in every language
ht-bj.nsblackjack game for web servers using AJAX (try it)
ht-cms.nsA _very_ crude Content Management System
ht-index.nsHTML file listing script
ht-poker.nspoker game for web servers using AJAX (try it)
ht-shell.nssimple shell for web servers
http-proxy.nsfunctioning demo web proxy server
httpc.nssimple HTTP client using sockets
httpd.nsfunctioning demo web server
lis-l.nslanguage file for lis.ns
lis.nspsychiatry for the lonely and desperate
mysql.nsMySQL/MariaDB SQL example
objects.nsintro to objects, classes, and constructors in NSP
odbc.nsODBC SQL example with a MySQL data source
pgsql.nsPostgreSQL SQL example
pop3.nsPOP3 client to sync mail account with a local dir
preload.ns
smoketest.nsplays the first few bars of Smoke on the Water using a PC speaker
smtpc.nsSMTP client
sqlite.nsSQLite example
sqrt.nssimple square root algorithm
srcmap.ns
test-nsp.ns
test-xm.ns
testlib1.nsprimary test library for base NSP language rules
wingdi.ns