A minimal example on embedding Giac in an Electron application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initial commit May 1, 2017
LICENSE.md Initial commit May 1, 2017
README.md Doc update Jul 10, 2017
index.html Initial commit May 1, 2017
install.js Fix Windows installation May 20, 2017
main.js Initial commit May 1, 2017
package.json Fix for Electron vulnerability Apr 6, 2018
preload.js Initial commit May 1, 2017

README.md

giac-electron-example

This project is based on the electron-quick-start example, extended by the native node version of the Giac computer algebra system.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer, and certainly some extra prerequisites (please see the Node Giac page for more details). From your command line:

# Clone this repository
git clone https://github.com/kovzol/giac-electron-example
# Go into the repository
cd giac-electron-example
# Install dependencies
npm install
# Run the app
npm start

Notes

This example is known to work under

  • Linux
    • Ubuntu 16.04.2 (64 bit, node 7.7.4, npm 4.1.2, GMP 6.1.0, MPFR 3.1.4)
    • Ubuntu 16.10 (64 bit, node 6.2.2, npm 3.9.5, GMP 6.1.1, MPFR 3.1.5)
    • Ubuntu 17.04 (64 bit, node 6.10.3, npm 3.10.10, GMP 6.1.2, MPFR 3.1.5)
    • Raspberry Pi 3 (Raspbian Jessie, node 6.11.0, npm 3.10.10, GMP 6.0.0, MPFR 3.1.0, GCC 6)
  • MacOS 10.11 "El Capitan" (node 6.6.0, npm 3.10.3, GMP 6.1.0, MPFR 3.1.3)
  • Windows 10 (32 bit compilation required, node 6.10.3, npm 3.10.10, MPIR 2.6.0, MPFR 3.1.2)

Note that you may need to download a recent node.js version since older versions shipped with Ubuntu will almost surely not work. Also you need a recent GCC under Linux, otherwise the C++ compilation will fail.

Author

Zoltán Kovács zoltan@geogebra.org

License

CC0 1.0 (Public Domain)