math/spar 0.5.10_7 FreeBSD
Modular math parser
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- math, devel
- Package size
- 83.3 KiB, 429.9 KiB installed
Description
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).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/spar | 0.5.10_7 |
| DragonFly | math/spar | 0.5.10_7 |
Install
Binary package:
pkg install spar
From the ports tree:
cd /usr/ports/math/spar/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= spar>0:math/spar
LIB_DEPENDS= libspar.so:math/spar
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5.10_7 | 0.5.10_7 | 0.5.10_6 | 0.5.10_7 | 0.5.10_7 |
| FreeBSD:14:quarterly | 0.5.10_7 | 0.5.10_7 | n/a | 0.5.10_7 | 0.5.10_7 |
| FreeBSD:15:latest | 0.5.10_7 | 0.5.10_7 | n/a | 0.5.10_7 | 0.5.10_7 |
| FreeBSD:15:quarterly | 0.5.10_7 | 0.5.10_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5.10_7 | 0.5.10_7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- dos2unix libtool ncurses readline
- Service scripts
- none
Files
Manual pages 1
- spar(1)
pkg-plist 41
- bin/spar
- include/spar/sl.h
- include/spar/sl_application.h
- include/spar/sl_bool.h
- include/spar/sl_conf.h
- include/spar/sl_complex.h
- include/spar/sl_constant.h
- include/spar/sl_errno.h
- include/spar/sl_error.h
- include/spar/sl_formula.h
- include/spar/sl_init.h
- include/spar/sl_io.h
- include/spar/sl_math.h
- include/spar/sl_math_library.h
- include/spar/sl_module.h
- include/spar/sl_module_devel.h
- include/spar/sl_module_loader.h
- include/spar/sl_module_manager.h
- include/spar/sl_parser.h
- include/spar/sl_poly.h
- include/spar/sl_random.h
- include/spar/sl_sort.h
- include/spar/sl_table.h
- include/spar/sl_test.h
- include/spar/sl_util.h
- include/spar/sl_vector.h
- include/spar/sl_version.h
- lib/libspar.a
- lib/libspar.so
- lib/libspar.so.0
- lib/libspar.so.0.5.10
- lib/spar/solve_c.a
- lib/spar/solve_c.so
- lib/spar/solve_q.a
- lib/spar/solve_q.so
- lib/spar/zsolve_c.a
- lib/spar/zsolve_c.so
- lib/spar/zsolve_q.a
- lib/spar/zsolve_q.so
- share/spar/modules_config
- share/man/man1/spar.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| spar-0.5.10.tar.gz | 236932 | 776fd86c886e01da594a5373c8a5ea663bb90e3c14197851a1dc62936cc0ae64 |
Master sites 1
- SF/spar/Spar/0.5.10
Commit history 0
No commits in the history this site was built from.