Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eldimious/lisp_to_js_converter
API that convert programs in common lisp into their javascript equivalent.
https://github.com/eldimious/lisp_to_js_converter
converter js lisp
Last synced: about 2 months ago
JSON representation
API that convert programs in common lisp into their javascript equivalent.
- Host: GitHub
- URL: https://github.com/eldimious/lisp_to_js_converter
- Owner: eldimious
- Created: 2019-03-29T08:01:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T00:17:35.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T08:26:09.735Z (3 months ago)
- Topics: converter, js, lisp
- Language: JavaScript
- Homepage:
- Size: 1.43 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 ##
```shell
POST /isValidLisp
```**Body Params:**
```shell
{
input, {String}
}
```**Description**: checks if the input is a valid Lisp program. Server will return as response:
```js
{
"data": "Correct LISP input"
}
``````shell
POST /convertToJS
```**Body Params:**
```shell
{
input, {String}
}
```**Description**: accepts an input and return it converted to JS. Server will return as response:
```js
{
"data": javascript equivalent program
}
```## Support Me
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y797KCA)
## Show your support
Give a ⭐️ if this project helped you!