Skip to content

Commit

Permalink
v0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
shellyln committed Oct 13, 2018
1 parent 250e0a7 commit ca24ee0
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "liyad",
"private": false,
"version": "0.0.10",
"version": "0.0.11",
"description": "Liyad (Lisp yet another DSL interpreter) is very small Lisp interpreter written in JavaScript.",
"keywords": [
"LISP",
Expand Down
66 changes: 47 additions & 19 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,55 @@

export * from './s-exp/s-expression';

export { default as installCore } from './s-exp/operators/core';
export { default as coreOperators } from './s-exp/operators/core/core.operator';
export { default as coreMacros } from './s-exp/operators/core/core.macro';
export { default as coreSymbols } from './s-exp/operators/core/core.symbol';

export { default as installCore } from './s-exp/operators/core';
export { default as installArithmetic } from './s-exp/operators/arithmetic';
export { default as arithmeticOperators } from './s-exp/operators/arithmetic/arithmetic.operator';
export { default as arithmeticMacros } from './s-exp/operators/arithmetic/arithmetic.macro';
export { default as arithmeticSymbols } from './s-exp/operators/arithmetic/arithmetic.symbol';

export { default as installSequence } from './s-exp/operators/sequence';
export { default as sequenceOperators } from './s-exp/operators/sequence/sequence.operator';
export { default as sequenceMacros } from './s-exp/operators/sequence/sequence.macro';
export { default as sequenceSymbols } from './s-exp/operators/sequence/sequence.symbol';

export { default as installJsx } from './s-exp/operators/jsx';
export { default as jsxOperators } from './s-exp/operators/jsx/jsx.operator';
export { default as jsxMacros } from './s-exp/operators/jsx/jsx.macro';
export { default as jsxSymbols } from './s-exp/operators/jsx/jsx.symbol';

export { default as installConcurrent } from './s-exp/operators/concurrent';
export { default as concurrentOperators } from './s-exp/operators/concurrent/concurrent.operator';
export { default as concurrentMacros } from './s-exp/operators/concurrent/concurrent.macro';
export { default as concurrentSymbols } from './s-exp/operators/concurrent/concurrent.symbol';


import { default as coreOperators } from './s-exp/operators/core/core.operator';
import { default as coreMacros } from './s-exp/operators/core/core.macro';
import { default as coreSymbols } from './s-exp/operators/core/core.symbol';

import { default as arithmeticOperators } from './s-exp/operators/arithmetic/arithmetic.operator';
import { default as arithmeticMacros } from './s-exp/operators/arithmetic/arithmetic.macro';
import { default as arithmeticSymbols } from './s-exp/operators/arithmetic/arithmetic.symbol';

import { default as sequenceOperators } from './s-exp/operators/sequence/sequence.operator';
import { default as sequenceMacros } from './s-exp/operators/sequence/sequence.macro';
import { default as sequenceSymbols } from './s-exp/operators/sequence/sequence.symbol';

import { default as jsxOperators } from './s-exp/operators/jsx/jsx.operator';
import { default as jsxMacros } from './s-exp/operators/jsx/jsx.macro';
import { default as jsxSymbols } from './s-exp/operators/jsx/jsx.symbol';

import { default as concurrentOperators } from './s-exp/operators/concurrent/concurrent.operator';
import { default as concurrentMacros } from './s-exp/operators/concurrent/concurrent.macro';
import { default as concurrentSymbols } from './s-exp/operators/concurrent/concurrent.symbol';


export const builtinOperators = {
core: coreOperators,
arithmetic: arithmeticOperators,
sequence: sequenceOperators,
jsx: jsxOperators,
concurrent: concurrentOperators,
};

export const builtinMacros = {
core: coreMacros,
arithmetic: arithmeticMacros,
sequence: sequenceMacros,
jsx: jsxMacros,
concurrent: concurrentMacros,
};

export const builtinSymbols = {
core: coreSymbols,
arithmetic: arithmeticSymbols,
sequence: sequenceSymbols,
jsx: jsxSymbols,
concurrent: concurrentSymbols,
};

0 comments on commit ca24ee0

Please sign in to comment.