nbasic.net

This simple programming language with built-in graphical functions and an easy to use and offline usable browser IDE is well suited as a teaching and learning language. You can also use it to write graphical applications that you can embed in a web page.

Browser based development environment

A language that doesn’t have everything is actually easier to program in than some that do. -- Dennis M. Ritchie

Interactive tutorials and blogs

Learn Programming Basics

Documentation and Code Snippets

Functions and Recursion

Programming a Letter Memory Game

Sorting Algorithms

Monte Carlo Methods or Why it's a Bad Idea to Go to the Casino

Blackjack - Probabilties, Card Counting

Symmetric Cipher - What can you do wrong with it

Web demos

Some of these examples are solved tasks of Rosetta Code

15 puzzle

1x1 trainer

Barnsley fern

Bouncing balls

Catch the ball

Clock

Coin flip

Combat balls

Forest fire

Fractal tree

Game of life

Hangman

Julia set

Learning clock

Letter memory

Mandelbrot

Mastermind

Math trainer

Mine sweeper

Monster maze

Paint

Particles

Pendulum

Piano

Reaction test

Spiral

Tictactoe


Starry sky

Programming fun


Embedding in a web page

When copying the files easyw.wasm, easyw.js and easy.js to your web directory, you can embed a script in a web page.




Embedding examples

Clock

Pendulum

Jumping ball

Tic-tac-toe

Mandelbrot




A URL can be created, that can start a code runner with the program encoded in a URL parameter.

Inside the code runner our program can be stored and run offline. The code runner is a PWA (Progressive Web App). Therefore it works like a native app on the mobile device.

More

nbasic.net on Rosetta Code

Advent Of Code with easylang

Learn X in Y minutes Where X=Easylang

Technical

easylang is statically typed and has as data types only strings and numbers (floating point), arrays of strings and numbers, and arrays of arrays. Arrays can grow. Programs compiled into an AST tree run in the browser or in the browser IDE. There are built-in features for canvas graphics.

Free

easylang is free of charge: free to use, free to copy and requires no registration or login. It is also Open Source.

Source on GitHub

Discussion, questions, etc. on Reddit

If you like it, recommend it to others.


The name of some built-in commands has changed. Easylang code can be adapted to the new syntax with this tool.

Syntax converter


christof.kaser@gmail.com - nbasic.net