eldimious / Lisp_to_JS_converter

API that convert programs in common lisp into their javascript equivalent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lisp_to_JS_converter

What is this repository for?

The goal is to build an API that can convert programs in common lisp into their javascript equivalent.

Capabilities

The service supports Lisp operators(and, mod,incf, decf, =, >, <, <=, >=, +, -, *, /, /=), variable declaration(defvar defconstant), function declaration(defun), and if block.

Limitations

Should expand service supporting for the rest LISP decisions(e.g. when), loops etc.

Endpoints

POST /isValidLisp

Body Params:

{ 
  input, {String}
}

Description: checks if the input is a valid Lisp program. Server will return as response:

{
    "data": "Correct LISP input"
}
POST /convertToJS

Body Params:

{ 
  input, {String}
}

Description: accepts an input and return it converted to JS. Server will return as response:

{
    "data": javascript equivalent program
}

Support Me

ko-fi

Show your support

Give a ⭐️ if this project helped you!

About

API that convert programs in common lisp into their javascript equivalent.


Languages

Language:JavaScript 100.0%