├── .travis.yml ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── bin └── sith ├── examples ├── attributes.rb ├── example0.rb ├── example1.rb └── simple.rb ├── lib ├── sith.rb └── sith │ ├── loader.rb │ ├── macro.rb │ └── macro_expander.rb ├── sith.gemspec └── spec ├── sith_spec.rb └── spec_helper.rb /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/sith: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/bin/sith -------------------------------------------------------------------------------- /examples/attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/examples/attributes.rb -------------------------------------------------------------------------------- /examples/example0.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/examples/example0.rb -------------------------------------------------------------------------------- /examples/example1.rb: -------------------------------------------------------------------------------- 1 | def a 2 | simple 2, 4 3 | end 4 | -------------------------------------------------------------------------------- /examples/simple.rb: -------------------------------------------------------------------------------- 1 | macro simple(a, b) 2 | ~{a} + ~{b} 3 | end 4 | -------------------------------------------------------------------------------- /lib/sith.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/lib/sith.rb -------------------------------------------------------------------------------- /lib/sith/loader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/lib/sith/loader.rb -------------------------------------------------------------------------------- /lib/sith/macro.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/lib/sith/macro.rb -------------------------------------------------------------------------------- /lib/sith/macro_expander.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/lib/sith/macro_expander.rb -------------------------------------------------------------------------------- /sith.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/sith.gemspec -------------------------------------------------------------------------------- /spec/sith_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alehander92/sith/HEAD/spec/sith_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------