New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lijsp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lijsp

JS lisp-like dialect interpreter

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

lisjp javascript lisp dialect

quirky like js

expressive like lisp

use this to process query lists into batch calls or whatever which can be executed parallel if you want (which is a jsql function)

there are no pointer types in lisp.

list of default functions needed set, setq, retString

list of built in macros needed defun

if is a macro def?

if not a list if a string, return the context value ||| string literal otherwise, return the literal

loop through the list

if the first item isn't a string function or object, return the list (non-string literals are data)

if it's a function, call it with (rest, context) else, resolve the string in the function context. if not found, throw an error

what to do about non-function objects as first members? --> for .. in loop them as first values? // sp the rest of the list for each k:v pair // return the object withe returns in place

we'll likely have options from the functions table look at the params (process any which are arrays) to determine which function to call

if the fn is native, call it with the param values if the fn is written in jsl, run the defun macro on it, then jsl.process

function(pms, cx, pcx){ // function, which can return whatever the fuck it wants }

function(cdr, cx, pcx){ // macros operate with a context // if the first param is pcdr this will run after expansion // if the call name is postfixed with () (or ends with it by def) // the macro will run after expansion }

Keywords

lisp

FAQs

Package last updated on 18 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts