nodejs convert file type .dsn to .svg
Project detail
https://ocw.cs.pub.ro/courses/alf/teme/tema_en_2
Write an interpreter that receives a file with statements as parameter and writes a SVG file. If there was an error, it will output ERROR LINE followed by the line number: and the error text.
The program receives two parameters:
the file with statements
the svg output file
A usage example:
node main.js design.dsn canvas.svg
This will run the design.dsn file and write the drawing into the canvas.svg file.