| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/spar/ |
Upload File : |
Spar is a modular math parser that comes with a fully featured text frontend,
something like an interactive calculator. It also provides a simple but
complete API for C/C++ programmers. This API provide a complete interface to
a top down parser that supports: variables, constants, functions, modules and
a libc based math library. This math library overrides standard functions with
a "custom" version (such as. deg, rad auto conversion, infinite symbol,
function domain...).
Spar, can be easily extended with modules. A module is a "user" extensions,
written in C/C++, to the basic features of the Simple Parser. Here you can
find the module definition: is a C structure that contains only few data
member:
- module name
- module version
- module description
- a pointer to the module main function
The modules are loaded at run-time by the module loader (that is a high level
layer of the module manager): you can load your modules, simply, coping theirs
paths into the .spar_modules (or any other file, with the -c option).