0.0.7 • Published 5 years ago

@guidodizi/sbn-compiler v0.0.7

Weekly downloads
1
License
-
Repository
-
Last release
5 years ago

SBN

Typescript compiler to create .svg images from DBN (Design by Numbers) language (https://dbn.media.mit.edu/)

Install compiler

Run the following command npm i -g @guidodizi/sbn-compiler

Then, to compile a .dbn file run sbn *dbnFile*

If you'd like to log the intermediate steps of compilation (lexer, parser, transformer) run sbn *dbnFile* --log

DBN functionalities

Firstly, the file to be compiled must be with the extension .dbn

CommandArgumentsFunctionality
//-Commented line
Papercolor: [0..100]Creates the square that will be used as the workspace. color defines the background color
Pencolor: [0..100]Defines the color of the designs
Linex1: [0..100] y1: [0..100] x2: [0..100] y2: [0..100]Creates a line from (x1,y1) to (x2,y2)
0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago