b3djs

Started by jamesmin, February 27, 2020, 22:41:12

Previous topic - Next topic

jamesmin

So I have had an itch for a while now, and have decided to scratch it.

I have started work on a from scratch B3D compiler. It is designed to run in a browser, and target the browser.

Think JSFiddle - but you can type in B3D code.

There are a number of parts to making this work:

1) The compiler. This will compile Blitz code to Javascript
2) The B3D runtime. This will need to be written using WebGL.
3) Some useable editor/toolchain/whatever to let people use the above 2

I have started on 1.

So far I have a working lexer, and work has begun on the analyser/parser.

Oh yeah, it's written in ClojureScript (a variant of Lisp :) ) https://github.com/jamesmintram/b3djs

I will consider the project a success when you can  compile + run all of the original sample programs that came with Blitz3D

round157

Quote from: jamesmin on February 27, 2020, 22:41:12

I will consider the project a success when you can  compile + run all of the original sample programs that came with Blitz3D

Good project!

3DzForMe

@jamesmin - One helluva project - good luck ;)
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1