-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffaf575
commit 205f7a3
Showing
10 changed files
with
1,643 additions
and
4,753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "lang-clojure-eval", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"author": "Bobbi Towers <[email protected]>", | ||
"description": "Lezer-based Clojure Codemirror 6 extension with live evaluation", | ||
"main": "dist/index.cjs", | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
(ns lang-clojure-eval.main | ||
(:require [sci.core :as sci])) | ||
(:require [sci.core :as sci] | ||
[clojure.pprint :as pprint])) | ||
|
||
(defn sci-init [] | ||
(sci/init {})) | ||
|
||
(defn eval-string [ctx s] | ||
(str (sci/eval-string* ctx s))) | ||
(with-out-str (pprint/pprint (sci/eval-string* ctx s)))) | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.