Code Monkey home page Code Monkey logo

hyz1992 / nplruntime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lixizhi/nplruntime

0.0 0.0 0.0 214.3 MB

NPL - Neural Parallel Language

Home Page: http://www.nplproject.com

License: GNU General Public License v2.0

CMake 0.79% C 44.99% C++ 47.70% Shell 0.74% Objective-C 0.05% Batchfile 0.09% C# 0.64% Lua 1.30% HLSL 0.37% Makefile 1.65% M4 0.89% Perl 0.06% Assembly 0.13% Awk 0.01% DIGITAL Command Language 0.38% GLSL 0.03% Objective-C++ 0.01% Roff 0.01% NSIS 0.14% Python 0.05%

nplruntime's Introduction

Build status Code docs Documentation Status

Welcome to the NPL Runtime!

NPL or Neural Parallel Language is an open source, high-performance, scripting language. Its syntax is 100%-compatible with lua. NPL runtime provides essential functionality for building 3D/2D/Server applications that runs on windows/linux/android/iOS.

Install Guide

git clone https://github.com/LiXizhi/NPLRuntime.git
./build_linux.sh

See Install Guide for details

Getting Started

Example code

-- this is from `helloworld.npl`
NPL.activate("(gl)helloworld.npl", {data="hello world!"})
this(msg){
   if(msg) then
      print(msg.data or "");
   end
}

Why a New Programming Language?

NPL prototype was designed in 2004, which was then called 'parallel oriented language'. NPL is initially designed to write flexible algorithms that works in a multi-threaded, and distributed environment with many computers across the network. More specifically, I want to have a language that is suitable for writing neural network algorithms, 3d simulation and visualization. Lua and C/C++ affinity was chosen from the beginning.

Usage

To run with GUI, use:

npl [filename] [parameters...]

To run in server mode, use:

npls [filename] [parameters...]

For example:

npls hello.npl

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.