marxwolf / NPLRuntime

NPL - Neural Parallel Language

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Code docs

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. It is similar to java, but is more flexible in nature.

Install Guide

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

See Install Guide for details

Getting Started

Example code

local function activate()
   if(msg) then
      print(msg.data or "");
   end
   NPL.activate("(gl)helloworld.lua", {data="hello world!"})
end
NPL.this(activate); 

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 [parameters...]

To run in server mode, use:

	npls [filename] [parameters...]

For example:

	npls hello.lua

About

NPL - Neural Parallel Language

http://www.nplproject.com

License:GNU General Public License v2.0


Languages

Language:C 46.5%Language:C++ 43.7%Language:Makefile 2.8%Language:M4 1.7%Language:Shell 1.3%Language:Lua 1.1%Language:DIGITAL Command Language 0.7%Language:CMake 0.7%Language:HLSL 0.6%Language:C# 0.5%Language:Batchfile 0.1%Language:Perl 0.1%Language:Visual Basic 0.0%Language:Assembly 0.0%Language:Awk 0.0%Language:Objective-C 0.0%Language:Groff 0.0%