Sha256: 787f3e8c2676f8041bcf38e01b7b87cc312406baa717a639a1099b50ba59002c
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
Ultraviolet + TextPow for Ruby 1.8 and 1.9 Because all these libs are kind of broken and dont work well on either platform. If you only need ruby 1.9, simply go with `spox-ultraviolet`.</br> (which will load spox-plist, a slightly outdated plist flavor) Install ======= gem install ultra_pow_list ### Ruby 1.8 ? Install oniguruma # Ubuntu sudo apt-get -y install libonig-dev gem install oniguruma # OsX (no idea if this works...) port install oniguruma4 Usage ===== # make all 3 libs loadable UltraPowList.make_loadable # or separate UltraPowList.make_loadable 'plist' # ... whatever you want to do with these libs ... # to html require 'textpow' require 'uv' puts Uv.syntaxes.join( ", " ) # analyse syntax language = 'ruby' syntax = File.join(Uv.path.first,'uv', 'syntax',"#{language}.syntax") syntax = Textpow::SyntaxNode.load(syntax) processor = Textpow::DebugProcessor.new puts result = syntax.parse( "class Foo\n def xxx;end\nend", processor ) TODO ==== - tests e.g. copy from the original repos Author ====== This is basially only code extracted from [Kitabu](https://github.com/fnando/kitabu) by [Nando Vieira](http://simplesideias.com.br/) [Michael Grosser](http://grosser.it)<br/> michael@grosser.it<br/> Hereby placed under public domain, do what you want, just do not hold me accountable...
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ultra_pow_list-0.1.1 | Readme.md |