All Projects → the-neutron-foundation → neutron-language

the-neutron-foundation / neutron-language

Licence: GPL-3.0 license
A simple, extensible and efficient programming language based on C and Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to neutron-language

Elegantrl
Lightweight, efficient and stable implementations of deep reinforcement learning algorithms using PyTorch.
Stars: ✭ 575 (+1696.88%)
Mutual labels:  efficient
Borer
Efficient CBOR and JSON (de)serialization in Scala
Stars: ✭ 131 (+309.38%)
Mutual labels:  efficient
Amber
A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
Stars: ✭ 2,345 (+7228.13%)
Mutual labels:  efficient
Slimmable networks
Slimmable Networks, AutoSlim, and Beyond, ICLR 2019, and ICCV 2019
Stars: ✭ 708 (+2112.5%)
Mutual labels:  efficient
Kgtk
Knowledge Graph Toolkit
Stars: ✭ 81 (+153.13%)
Mutual labels:  efficient
Efficientnet
Implementation of EfficientNet model. Keras and TensorFlow Keras.
Stars: ✭ 1,920 (+5900%)
Mutual labels:  efficient
Cranium
🤖 A portable, header-only, artificial neural network library written in C99
Stars: ✭ 501 (+1465.63%)
Mutual labels:  efficient
PyGLM
Fast OpenGL Mathematics (GLM) for Python
Stars: ✭ 167 (+421.88%)
Mutual labels:  efficient
Stm32 Dma Uart
Efficient DMA timeout mechanism for peripheral DMA configured in circular mode demonstrated on a STM32 microcontroller.
Stars: ✭ 111 (+246.88%)
Mutual labels:  efficient
S2v
ICLR 2018 Quick-Thought vectors
Stars: ✭ 191 (+496.88%)
Mutual labels:  efficient
Dua Cli
View disk space usage and delete unwanted data, fast.
Stars: ✭ 744 (+2225%)
Mutual labels:  efficient
Retc
An application used to convert razer effects to multiple output sdks.
Stars: ✭ 54 (+68.75%)
Mutual labels:  efficient
Pyeco
python implementation of efficient convolution operators for tracking
Stars: ✭ 150 (+368.75%)
Mutual labels:  efficient
Noahv
An efficient front-end application framework based on vue.js
Stars: ✭ 593 (+1753.13%)
Mutual labels:  efficient
Flutter commonapp
打造一款通用的AppUI结构,包括登录、注册等通用 UI 界面及各工具类和公共部分。
Stars: ✭ 227 (+609.38%)
Mutual labels:  efficient
Cista
Simple C++ Serialization & Reflection.
Stars: ✭ 535 (+1571.88%)
Mutual labels:  efficient
Nim
Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Stars: ✭ 12,270 (+38243.75%)
Mutual labels:  efficient
JSON-For-Mirc
JSON parser for mIRC
Stars: ✭ 19 (-40.62%)
Mutual labels:  efficient
Selecsls Pytorch
Reference ImageNet implementation of SelecSLS CNN architecture proposed in the SIGGRAPH 2020 paper "XNect: Real-time Multi-Person 3D Motion Capture with a Single RGB Camera". The repository also includes code for pruning the model based on implicit sparsity emerging from adaptive gradient descent methods, as detailed in the CVPR 2019 paper "On implicit filter level sparsity in Convolutional Neural Networks".
Stars: ✭ 251 (+684.38%)
Mutual labels:  efficient
Nfancurve
A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
Stars: ✭ 180 (+462.5%)
Mutual labels:  efficient

The Neutron Programming Language

Codacy grade Website License Code style: black

Neutron is a high level general-purpose programming language that is inspired by C and Python.

Example

Here is how to do the guess the number game in neutron:

import "types";
import "io";
import "random::randrange";

is_not_win = true;
number = randrange(0, 100);
num_guesses = 0;

while (is_not_win) {
  guess = types::to_int(io::stdin(prompt="Enter A Number Between 0 and 100: "));
  if (guess == number) {
    io::print("You Win!");
    is_not_win = false;
  } else if (guess < number) {
    io::print("Too Low");
  } else if (guess > number) {
    io::print("Too High");
  }
}

Documentation

There is a documentation here for full documentation and installation instructions. There is also a Gitter Chat here.

Dependencies

Before installing/building/running neutron, you should first install the dependencies. you can do this via pip3 or any other package manager. The dependencies required are:

Basic Usage

To use, run the filename as the first argument. It is recommended to use the python interpreter to run the code (just run the neutron folder), like so:

python3 neutron path/to/neutron/file.ntn

The filename for neutron files is .ntn. For example, important_file.ntn. If you want to use the compiled binaries, on Unix-like systems, you could do:

./neutron.bin path/to/neutron/file.ntn

Syntax Highlighting

Text Editor Where to find
Atom Atom Package Repository (language-neutron)

Why Neutron?

  • It's actively maintained
  • It's a versatile programming language suited for many things
  • New features are constantly being added

Features

There are constantly new features being developed in neutron. To see the features that are coming and the one that are being worked on, go here.

  • Numpy arrays Builtin!!
  • Classes
  • Functions
  • Built-Ins (e.g. print, get, stdin, to_int)
  • Primitive Types (Integers, Floats, Booleans, Strings)
  • Python Lists, Tuples and Numpy Arrays Builtin
  • While loops
  • For Loops
  • Import statements
  • C-like Structs
  • Switch Statements
  • Syntax Changeable at Runtime

Tools used

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].