Skip to content

Kevoot/CLCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLCompiler

Try the Demo

What am I even looking at?

A compiler (not really, a transpiler) from a long-dead calculator language to javascript. The scanner and parser were originally implemented in C++ for my Organization of Programming Languages. This was converted to Typescript and uses JQuery, Bootstrap, and visjs to display the results of creating a syntax tree. From there, functions are run on each given node type to generate a string of equivalent javascript code.

Once we create this string, it is passed to a function constructor and then run.

Users beware: There is no protection against infinite loops. If you write one, prepare to force close the page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published