Skip to content

Commit

Permalink
Move to using Go Jsonnet bindings
Browse files Browse the repository at this point in the history
Far faster than C++ library bindings
  • Loading branch information
brettviren committed Jun 7, 2023
1 parent 4a2e32e commit 7189acb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions oschema.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
#+setupfile: other/setup-topic.org

#+name: grep
#+begin_src shell :var re="" :var file="/dev/null" :var a=0 :var lang="shell" :exports none :results output code
#+begin_src bash :var re="" :var file="/dev/null" :var a=0 :var lang="shell" :exports none :results output code
grep -m1 -A$a "$re" "$file"
#+end_src

#+name: awk
#+begin_src shell :var re="" :var file="/dev/null" :var lang="shell" :exports none :results output code
#+begin_src bash :var re="" :var file="/dev/null" :var lang="shell" :exports none :results output code
awk "$re" "$file"
#+end_src

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
python_requires='>=3.5', # use of typing probably drive this
install_requires=[
"click",
"jsonnet>=0.16.0",
#"jsonnet>=0.16.0",
"gojsonnet>=0.20.0",
"jinja2",
"anyconfig",
"jsonschema",
Expand Down

0 comments on commit 7189acb

Please sign in to comment.