NSP: the scripting language for C programmers.
NSP is the complete object-based scripting language
written in just a few thousand lines of ANSI C. It's
portable, thread-safe, flexible, embeddable, expandable and
easy to understand (as a language and as an API).
but NSP is Not an ECMA Scripting Language.
0.9.4 is a long overdue update to the NSP language. This
release includes major changes to object management, including
the addition of support for classes and inheritance. Other
major changes include improvements to TCP/IP and extensions
(OpenSSL, mbed TLS, libSSH2, etc.), and improved interfaces
to access various SQL databases and other data sources. Last
but not least, there's a whole new script editor with built-in
script execution support.
NSP was originally written as a configuration file parser and
lightweight object model. Low maintenance memory management,
hierarchical data storage, a complete c-syntax script parser,
and a core package size of less than 5K lines of code are
just nice bonuses.
API extensions currently offer support for several other
software packages, including:
Note: Please don't ask them for support for NSP-specific issues.
If there is a bug, it's probably not theirs, and they probably can't help you resolve it.
NSP is free to use and distribute subject to the terms of the
Some basic documentation is here.
Want to see what working NSP scripts look like? Well,
here is a working web
server. Here is a script
to sync a pop3 mail account, and here is the class it uses. Samples ranging from
blackjack to a
chat bot can be found
A summary of changes can be found here.
If you find a bug, some weird behaviour, or just come up with
a cool test script, show me. I want scripts I can use to
see the bug in action now, and test for possible recurrences