Skip to content

Instantly share code, notes, and snippets.

View jkthorne's full-sized avatar
💭
caffeinated

Jack jkthorne

💭
caffeinated
View GitHub Profile
@jkthorne
jkthorne / 00-README.md
Created March 8, 2019 06:39 — forked from rf-/00-README.md
Crystal ctags generator

To compile with Homebrew-installed LLVM:

PATH=/usr/local/opt/llvm/bin:$PATH crystal build crystal-tags.cr
@jkthorne
jkthorne / crystal-tags.cr
Created March 8, 2019 06:39 — forked from datanoise/crystal-tags.cr
ctags for crystal language
require "compiler/crystal/**"
require "option_parser"
include Crystal
class ToCtagsVisitor < Visitor
@filename : String
@lines : Array(String)
@io : IO
@opts : Generator