Easylang

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

Code runner - Games & more

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

The Law of Large Numbers, or Why It Is a Bad Idea to Go to the Casino.

Blackjack - Probabilties, Card Counting

Symmetric Cipher - What can you do wrong with it

Rosetta Code Examples

Web demos

Some of these examples are solved tasks of Rosetta Code

15 puzzle

1x1 trainer

Barnsley fern

Bouncing balls

Catch the ball

Clock

Combat balls

Eyes draw

Forest fire

Fractal tree

Game of life

Ice cream

Julia set

Learning clock

Letter memory

Mandelbrot

Mastermind

Math trainer

Mine sweeper

Monster maze

Paddle

Paint

Particles

Pendulum

Piano

Reaction test

Roman numbers

Snake

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

Easylang 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 are 1-based and can grow. Programs compiled into an AST tree run in the browser or in the browser IDE. There are built-in functions 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 default origin of the coordinate system is now bottom left (March 2023). With the command sys topleft you can reset the origin to top left.

The name of some built-in commands has changed (February 2022). Old code can be adapted to the new syntax with this tool


christof.kaser@gmail.com