~pepe/jlnt.kak

1d74975325862ee23a4acd92ff21f6880ba5243a — Josef Pospíšil 1 year, 3 months ago
Initial commit
4 files changed, 16 insertions(+), 0 deletions(-)

A .gitignore
A bad.janet
A jlnt.janet
A project.janet
A  => .gitignore +2 -0
@@ 1,2 @@

build/

A  => bad.janet +1 -0
@@ 1,1 @@
(print "HOHO" a

A  => jlnt.janet +5 -0
@@ 1,5 @@
(defn main [&]
  (def src (:read stdin :all))
  (match (protect (parse src))
    [false err] (print "Parser error: " err)
    [true ast] (tracev (compile ast))))

A  => project.janet +8 -0
@@ 1,8 @@
(declare-project
  :name "jlnt"
  :description "Janet linter for Kakoune")

(declare-executable
  :name "jlnt"
  :entry "jlnt.janet"
  :install true)