GithubHelp home page GithubHelp logo

xawi2000 / berrymath Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berrymathdevelopmentteam/berrymath

0.0 1.0 0.0 6.09 MB

A simple programming language---BerryMath

Home Page: https://berrymathdevelopmentteam.github.io/BerryMath/

License: Apache License 2.0

Python 1.06% C++ 71.81% Makefile 24.53% CMake 1.42% C 1.18%

berrymath's Introduction

BerryMath

BerryMath is a simple programming language. We'll keep it be stronger, keep it to grow up. I hope this language will great at math, AI. Of course, if you just want it as a gadget rather than a systemic programming language, it can be used to quickly develop a small program.

Build

We use cmake to manage the project. If you don't have cmake, you must first install cmake.

cmake .

or

cmake -DSHARED=OFF .

These shell scripts can also compile it into an executable.

And use this shell script:

cmake -DSHARED=ON .

can compile it into an shared library.

Usage

When you had built this project, open the executable can run the script by BerryMath. If you want to use BerryMath Interpreter in your project, you can include this by shared library. Header files and dynamic link libraries in Linux and Mac are installed in the /usr/BM/dev directory, and windows is in C:\BM\dev.

Use BM::Object can create a BerryMath object, use BM::Number/BM::String/BM::Function/BM::NativeFunction to create a number, a string, a function or a native function. Use BM::Variable to create a BerryMath variable. Use BM::scope to create a scope to save variables. Use BM::AST to build BerryMath script Abstract Syntax Tree(AST). Use BM::Interpreter to run the BM script or compile the BM script into a .bmast file. ...

Supports

Operating System Platform Judgment based on OSPlatformUtil Http Request in module http based on curl

License

Apache 2.0 License

berrymath's People

Contributors

link14349 avatar berrymath avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.