• Stars
    star
    75
  • Rank 424,578 (Top 9 %)
  • Language
    C++
  • License
    GNU Lesser Genera...
  • Created almost 8 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Nelson numerical interpreter

Nelson logo

Visitor Badge

Codacy Badge CodeQL analysis (C/C++)CII Best Practices

Build Status

GitHub license CLA assistant Open Hub Weblate

Join the chat at https://gitter.im/nelson-lang/Lobby

Nelson is an array programming language providing a powerful open computing environment for engineering and scientific applications using modern C/C++ libraries (Boost, Eigen, …) and others state of art numerical libraries.

It has sophisticated data structures (including cell, struct, linear systems, …), an interpreter and a high level programming language.

Nelson has been developed to be an open/modular system where an user can define these own data types and operations on these data types by using overload.

Nelson environment

Website dedicated to users

For more information go to https://nelson-lang.github.io/nelson-website/.

Starring the repository

If you found this project useful, please consider starring it on GitHub !!! This allows me to see how many people are using my code, and motivates me to keep working to improve it.

Download

Get it from the Snap Store

Latest Windows Installer

Get it from the Windows Package Manager

Get it from the Chocolatey Package Manager

Features

  • Types managed by Nelson:

    • double and double complex: scalar, vector, matrix 2D, N dimensions array, sparse matrix.
    • single and single complex: scalar, vector, matrix 2D, N dimensions array, sparse matrix.
    • logical: scalar, vector, matrix 2D, N dimensions array, sparse matrix.
    • character array (UNICODE supported).
    • string array (UNICODE supported).
    • integers 8, 16, 32, 64 signed and unsigned: scalar, vector, matrix 2D, N dimensions array.
    • handle objects.
    • anonymous functions,
    • all types can be overloaded.
  • OpenMP and SIMD extensions used.

  • 2D and 3D plotting with high-level plot commands.

  • Desktop environment with history, file and workspace browser.

  • Parallel Computing Module.

  • Fast Fourrier Transformation functions based on FFTW and MKL wrapper.

  • SLICOT (Subroutine Library in Systems and Control Theory) interfaces (optional).

  • Control System module.

  • Message Passing Interface (MPI): functions for parallel computing.

  • JSON decode/encode data support.

  • HDF5 high-level functions I/O,

  • HDF5 used as default data file format (.nh5) load/save workspace,

  • MAT-file compatible load/save workspace,

  • Foreign Function Interface C/Fortran.

  • Interfacing C/C++ or Fortran with Nelson (build and load external code on the fly).

  • MEX C API compatibility.

  • Nelson Engine API for C (compatible with MEX Engine). Call Nelson from your C code as engine.

  • Call Python from Nelson.

  • RESTful API web service.

  • Inter-process communication between Nelson's process.

  • The QML engine enables nelson programs to display and manipulate graphical content using Qt's QML framework.

  • Component Object Model (COM) client interface: binary-interface standard for software components on Windows.

  • Write/Read xlsx files on Windows using COM.

  • Embedded Nelson code editor.

  • Help engine:

    Generate help files using Nelson dedicated functions. View your generated help files as html, markdown, pdf, gitbook or directly in Nelson help viewer.

  • Tests engine:

    Validate your algorithm using Nelson dedicated functions. Export the test results under the xUnit reports format.

  • Profiling and Code coverage tools for Nelson's language:

    Nelson has a built-in profiler that is very useful to profile your code and find out what script or function is taking the most time.

  • Nelson cloud: Instant access to Nelson anywhere from an web browser.

  • Module skeleton to extend Nelson available here:

  • Nelson Modules Manager (nmm) : package manager for Nelson

Licenses

Nelson is delivered under dual-license:

  • License (GNU Lesser General Public License (LGPL) v3.0)

    or

  • License (GNU General Public License (GPL) v3.0)

Resources

Tested and supported platforms

Systems with βœ“ downloads are available on downloads page.

Systems with βœ“ for CI are tested with continuous integration for every commit.

The systems listed here without CI or binaries are known to build and operate, but the continued support of these platforms is user-dependent.

Operating System Architecture CI Binaries
Windows 7 to 11 x86-64 (64-bit) βœ“ βœ“
i686 (32-bit) βœ“ βœ“
macOS Sonoma arm64 (M1) βœ“
macOS Ventura x86-64 (64-bit) βœ“
macOS Monterey x86-64 (64-bit) βœ“
Ubuntu 22.04 x86-64 (64-bit) βœ“ βœ“ (snap)
Ubuntu 20.04 x86-64 (64-bit) βœ“ βœ“ (snap)
Ubuntu 18.04 x86-64 (64-bit) βœ“ (snap)
ArchLinux x86-64 (64-bit) βœ“ βœ“ (snap)
Fedora 36 x86-64 (64-bit) βœ“ βœ“ (snap)
Raspbian ARM v8 (64-bit)

Allan CORNET ([email protected])