Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Imba

< >

Imba is a programming language created in 2014.

#235on PLDB 10Years Old
Download source code:
git clone https://github.com/imba/imba

๐Ÿค The friendly full-stack language


Example from the web:
tag app-canvas prop dpr = window.devicePixelRatio prop state = {} def draw e let path = e.#path ||= new Path2D let ctx = $canvas.getContext('2d') path.lineTo(e.x * dpr,e.y * dpr) ctx.lineWidth = state.stroke * dpr ctx.strokeStyle = state.color ctx.stroke(path) def resized e $canvas.width = offsetWidth * dpr $canvas.height = offsetHeight * dpr <self @resize=resized @touch.prevent.moved.fit(self)=draw> <canvas$canvas[pos:abs w:100% h:100%]>

Language features

Feature Supported Token Example
Semantic Indentation โœ“

View source

- Build the next great programming language ยท About ยท Acknowledgements ยท Extensions ยท Day 630 ยท Donate ยท feedback@pldb.io