Skip to content

Commit

Permalink
proper implementation of parametrize in core
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 11, 2024
1 parent 7fa5346 commit 8ff0cfc
Show file tree
Hide file tree
Showing 13 changed files with 1,055 additions and 764 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: publish test coveralls lint zero coverage

VERSION=1.0.0-beta.17.3
VERSION_DASH=`echo -n "1.0.0-beta.17" | sed "s/-/%E2%80%93/"`
VERSION_DASH=`echo -n "1.0.0-beta.17.3" | sed "s/-/%E2%80%93/"`
BRANCH=`git branch | grep '^*' | sed 's/* //'`
DATE=`date -uR`
YEAR=`date +%Y`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
alt="LIPS - Scheme Based Powerful Lisp Language" />
</h1>

[![npm](https://img.shields.io/badge/npm-1.0.0%E2%80%93beta.17-blue.svg)](https://www.npmjs.com/package/@jcubic/lips)
[![npm](https://img.shields.io/badge/npm-1.0.0%E2%80%93beta.17.3-blue.svg)](https://www.npmjs.com/package/@jcubic/lips)
![1.0.0 Complete](https://img.shields.io/github/milestones/progress-percent/jcubic/lips/1?label=1.0.0%20Complete)
[![Build and test](https://github.com/jcubic/lips/actions/workflows/build.yaml/badge.svg?branch=devel&event=push)](https://github.com/jcubic/lips/actions/workflows/build.yaml)
[![Coverage Status](https://coveralls.io/repos/github/jcubic/lips/badge.svg?branch=devel&4c1e341a4d5b78e71694fc8bbd89da36)](https://coveralls.io/github/jcubic/lips?branch=devel)
[![Coverage Status](https://coveralls.io/repos/github/jcubic/lips/badge.svg?branch=devel&f710fa2286e6c509828d347c2492bdca)](https://coveralls.io/github/jcubic/lips?branch=devel)
[![Join Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jcubic/lips)
![NPM Download Count](https://img.shields.io/npm/dm/@jcubic/lips)
![JSDelivr Download count](https://img.shields.io/jsdelivr/npm/hm/@jcubic/lips)
Expand Down
6 changes: 4 additions & 2 deletions bin/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import lily from '@jcubic/lily';

const boolean = ['d', 'dynamic', 'q', 'quiet', 'V', 'version', 'trace', 't', 'debug', 'c', 'compile', 'b', 'cbor'];
const boolean = [
'd', 'dynamic', 'q', 'quiet', 'V', 'version', 'trace', 't', 'debug', 'c', 'compile', 'b', 'cbor', 'x'
];
const options = lily(process.argv.slice(2), { boolean });

const quiet = options.q || options.quiet;
Expand Down Expand Up @@ -370,7 +372,7 @@ if (options.version || options.V) {
command_line.push(...get_command_line_args());
try {
const code = readCode(filename);
bootstrap(interp).then(() => {
(options.x ? Promise.resolve() : bootstrap(interp)).then(() => {
const dynamic = options.d || options.dynamic;
return run(code, interp, dynamic, null, options.t || options.trace);
});
Expand Down
Loading

0 comments on commit 8ff0cfc

Please sign in to comment.