├── .clang-format ├── .gitignore ├── .gitmodules ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .travis.yml ├── Appraisals ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── benchmark ├── attribute_builder.haml ├── attribute_builder.slim ├── compiling.rb ├── context.rb ├── rendering.rb ├── slim.rb ├── view.haml └── view.slim ├── bin └── faml ├── ext └── attribute_builder │ ├── attribute_builder.cc │ └── extconf.rb ├── faml.gemspec ├── gemfiles ├── rails_4.0.gemfile ├── rails_4.1.gemfile ├── rails_4.2.gemfile ├── rails_5.0.gemfile └── rails_edge.gemfile ├── haml_spec_test.rb ├── incompatibilities ├── README.md └── spec │ ├── compiler_newline_spec.md │ └── render │ ├── array_attribute_spec.md │ ├── attribute_spec.md │ ├── comment_spec.md │ ├── doctype_spec.md │ ├── element_spec.md │ ├── filters │ ├── cdata_spec.md │ ├── css_spec.md │ ├── escaped_spec.md │ ├── javascript_spec.md │ ├── markdown_spec.md │ ├── plain_spec.md │ └── preserve_spec.md │ ├── hash_attribute_spec.md │ ├── helpers_spec.md │ ├── indent_spec.md │ ├── multiline_spec.md │ ├── newline_spec.md │ ├── plain_spec.md │ ├── sanitize_spec.md │ ├── silent_script_spec.md │ └── unescape_spec.md ├── lib ├── faml.rb └── faml │ ├── attribute_compiler.rb │ ├── attribute_optimizer.rb │ ├── cli.rb │ ├── compiler.rb │ ├── engine.rb │ ├── error.rb │ ├── filter_compilers.rb │ ├── filter_compilers │ ├── base.rb │ ├── cdata.rb │ ├── coffee.rb │ ├── css.rb │ ├── escaped.rb │ ├── javascript.rb │ ├── markdown.rb │ ├── plain.rb │ ├── preserve.rb │ ├── ruby.rb │ ├── sass.rb │ ├── scss.rb │ └── tilt_base.rb │ ├── helpers.rb │ ├── html.rb │ ├── newline.rb │ ├── object_ref.rb │ ├── rails_handler.rb │ ├── rails_helpers.rb │ ├── railtie.rb │ ├── ruby_syntax_checker.rb │ ├── script_end.rb │ ├── static_hash_parser.rb │ ├── stats.rb │ ├── text_compiler.rb │ ├── tilt.rb │ └── version.rb └── spec ├── compiler_newline_spec.rb ├── rails ├── Rakefile ├── app │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── javascripts │ │ │ └── application.js │ │ └── stylesheets │ │ │ └── application.css │ ├── controllers │ │ ├── application_controller.rb │ │ ├── books_controller.rb │ │ └── concerns │ │ │ └── .keep │ ├── helpers │ │ └── application_helper.rb │ ├── mailers │ │ └── .keep │ ├── models │ │ ├── .keep │ │ ├── book.rb │ │ └── concerns │ │ │ └── .keep │ └── views │ │ ├── books │ │ ├── escaped.html.haml │ │ ├── filter_invalid_interpolation.html.haml │ │ ├── filter_not_found.html.haml │ │ ├── hello.html.haml │ │ ├── html_safe_attribute.html.haml │ │ ├── indent_error.html.haml │ │ ├── invalid_interpolation.html.haml │ │ ├── object_ref.html.haml │ │ ├── preserve.html.haml │ │ ├── syntax_error.html.haml │ │ ├── unparsable.html.haml │ │ ├── with_capture.html.haml │ │ └── with_variables.html.haml │ │ └── layouts │ │ └── application.html.haml ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── setup ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── secret_key_base.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml ├── db │ └── seeds.rb ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep ├── log │ └── .keep ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt ├── spec │ └── requests │ │ └── faml_spec.rb └── vendor │ └── assets │ ├── javascripts │ └── .keep │ └── stylesheets │ └── .keep ├── rails_helper.rb ├── render ├── array_attribute_spec.rb ├── attribute_spec.rb ├── comment_spec.rb ├── doctype_spec.rb ├── element_spec.rb ├── filters │ ├── cdata_spec.rb │ ├── coffee_spec.rb │ ├── css_spec.rb │ ├── escaped_spec.rb │ ├── javascript_spec.rb │ ├── markdown_spec.rb │ ├── plain_spec.rb │ ├── preserve_spec.rb │ ├── ruby_spec.rb │ ├── sass_spec.rb │ └── scss_spec.rb ├── filters_spec.rb ├── haml_comment_spec.rb ├── hash_attribute_spec.rb ├── helpers_spec.rb ├── multiline_spec.rb ├── newline_spec.rb ├── plain_spec.rb ├── preserve_spec.rb ├── sanitize_spec.rb ├── script_spec.rb ├── silent_script_spec.rb └── unescape_spec.rb ├── spec_helper.rb ├── support └── incompatibilities_generator.rb └── tilt_spec.rb /.clang-format: -------------------------------------------------------------------------------- 1 | Language: Cpp 2 | BasedOnStyle: Google 3 | Standard: C++03 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/.gitmodules -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/.travis.yml -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/Rakefile -------------------------------------------------------------------------------- /benchmark/attribute_builder.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/attribute_builder.haml -------------------------------------------------------------------------------- /benchmark/attribute_builder.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/attribute_builder.slim -------------------------------------------------------------------------------- /benchmark/compiling.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/compiling.rb -------------------------------------------------------------------------------- /benchmark/context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/context.rb -------------------------------------------------------------------------------- /benchmark/rendering.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/rendering.rb -------------------------------------------------------------------------------- /benchmark/slim.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/slim.rb -------------------------------------------------------------------------------- /benchmark/view.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/view.haml -------------------------------------------------------------------------------- /benchmark/view.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/benchmark/view.slim -------------------------------------------------------------------------------- /bin/faml: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | require 'faml/cli' 4 | 5 | Faml::CLI.start(ARGV) 6 | -------------------------------------------------------------------------------- /ext/attribute_builder/attribute_builder.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/ext/attribute_builder/attribute_builder.cc -------------------------------------------------------------------------------- /ext/attribute_builder/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/ext/attribute_builder/extconf.rb -------------------------------------------------------------------------------- /faml.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/faml.gemspec -------------------------------------------------------------------------------- /gemfiles/rails_4.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/gemfiles/rails_4.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_4.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/gemfiles/rails_4.1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_4.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/gemfiles/rails_4.2.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_5.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/gemfiles/rails_5.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_edge.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/gemfiles/rails_edge.gemfile -------------------------------------------------------------------------------- /haml_spec_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/haml_spec_test.rb -------------------------------------------------------------------------------- /incompatibilities/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/README.md -------------------------------------------------------------------------------- /incompatibilities/spec/compiler_newline_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/compiler_newline_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/array_attribute_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/array_attribute_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/attribute_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/attribute_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/comment_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/comment_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/doctype_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/doctype_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/element_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/element_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/cdata_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/cdata_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/css_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/css_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/escaped_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/escaped_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/javascript_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/javascript_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/markdown_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/markdown_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/plain_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/plain_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/filters/preserve_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/filters/preserve_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/hash_attribute_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/hash_attribute_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/helpers_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/helpers_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/indent_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/indent_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/multiline_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/multiline_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/newline_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/newline_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/plain_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/plain_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/sanitize_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/sanitize_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/silent_script_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/silent_script_spec.md -------------------------------------------------------------------------------- /incompatibilities/spec/render/unescape_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/incompatibilities/spec/render/unescape_spec.md -------------------------------------------------------------------------------- /lib/faml.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml.rb -------------------------------------------------------------------------------- /lib/faml/attribute_compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/attribute_compiler.rb -------------------------------------------------------------------------------- /lib/faml/attribute_optimizer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/attribute_optimizer.rb -------------------------------------------------------------------------------- /lib/faml/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/cli.rb -------------------------------------------------------------------------------- /lib/faml/compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/compiler.rb -------------------------------------------------------------------------------- /lib/faml/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/engine.rb -------------------------------------------------------------------------------- /lib/faml/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/error.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/base.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/cdata.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/cdata.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/coffee.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/coffee.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/css.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/css.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/escaped.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/escaped.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/javascript.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/javascript.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/markdown.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/markdown.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/plain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/plain.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/preserve.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/preserve.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/ruby.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/sass.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/sass.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/scss.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/scss.rb -------------------------------------------------------------------------------- /lib/faml/filter_compilers/tilt_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/filter_compilers/tilt_base.rb -------------------------------------------------------------------------------- /lib/faml/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/helpers.rb -------------------------------------------------------------------------------- /lib/faml/html.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/html.rb -------------------------------------------------------------------------------- /lib/faml/newline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/newline.rb -------------------------------------------------------------------------------- /lib/faml/object_ref.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/object_ref.rb -------------------------------------------------------------------------------- /lib/faml/rails_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/rails_handler.rb -------------------------------------------------------------------------------- /lib/faml/rails_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/rails_helpers.rb -------------------------------------------------------------------------------- /lib/faml/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/railtie.rb -------------------------------------------------------------------------------- /lib/faml/ruby_syntax_checker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/ruby_syntax_checker.rb -------------------------------------------------------------------------------- /lib/faml/script_end.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/script_end.rb -------------------------------------------------------------------------------- /lib/faml/static_hash_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/static_hash_parser.rb -------------------------------------------------------------------------------- /lib/faml/stats.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/stats.rb -------------------------------------------------------------------------------- /lib/faml/text_compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/text_compiler.rb -------------------------------------------------------------------------------- /lib/faml/tilt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/lib/faml/tilt.rb -------------------------------------------------------------------------------- /lib/faml/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Faml 3 | VERSION = '0.8.1' 4 | end 5 | -------------------------------------------------------------------------------- /spec/compiler_newline_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/compiler_newline_spec.rb -------------------------------------------------------------------------------- /spec/rails/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/Rakefile -------------------------------------------------------------------------------- /spec/rails/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /spec/rails/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /spec/rails/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /spec/rails/app/controllers/books_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/controllers/books_controller.rb -------------------------------------------------------------------------------- /spec/rails/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /spec/rails/app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/app/models/book.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/models/book.rb -------------------------------------------------------------------------------- /spec/rails/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/app/views/books/escaped.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/escaped.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/filter_invalid_interpolation.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/filter_invalid_interpolation.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/filter_not_found.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/filter_not_found.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/hello.html.haml: -------------------------------------------------------------------------------- 1 | .container 2 | %span Hello, World 3 | -------------------------------------------------------------------------------- /spec/rails/app/views/books/html_safe_attribute.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/html_safe_attribute.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/indent_error.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/indent_error.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/invalid_interpolation.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/invalid_interpolation.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/object_ref.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/object_ref.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/preserve.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/preserve.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/syntax_error.html.haml: -------------------------------------------------------------------------------- 1 | %div 2 | %span{ syntax error 3 | -------------------------------------------------------------------------------- /spec/rails/app/views/books/unparsable.html.haml: -------------------------------------------------------------------------------- 1 | %div 2 | %span{foo: 1, bar::} 3 | hello 4 | -------------------------------------------------------------------------------- /spec/rails/app/views/books/with_capture.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/with_capture.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/books/with_variables.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/books/with_variables.html.haml -------------------------------------------------------------------------------- /spec/rails/app/views/layouts/application.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/app/views/layouts/application.html.haml -------------------------------------------------------------------------------- /spec/rails/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/bin/bundle -------------------------------------------------------------------------------- /spec/rails/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/bin/rails -------------------------------------------------------------------------------- /spec/rails/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/bin/rake -------------------------------------------------------------------------------- /spec/rails/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/bin/setup -------------------------------------------------------------------------------- /spec/rails/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config.ru -------------------------------------------------------------------------------- /spec/rails/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/application.rb -------------------------------------------------------------------------------- /spec/rails/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/boot.rb -------------------------------------------------------------------------------- /spec/rails/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/database.yml -------------------------------------------------------------------------------- /spec/rails/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/environment.rb -------------------------------------------------------------------------------- /spec/rails/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/environments/development.rb -------------------------------------------------------------------------------- /spec/rails/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/environments/production.rb -------------------------------------------------------------------------------- /spec/rails/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/environments/test.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/assets.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/inflections.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/secret_key_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/secret_key_base.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/session_store.rb -------------------------------------------------------------------------------- /spec/rails/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /spec/rails/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/locales/en.yml -------------------------------------------------------------------------------- /spec/rails/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/routes.rb -------------------------------------------------------------------------------- /spec/rails/config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/config/secrets.yml -------------------------------------------------------------------------------- /spec/rails/db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/db/seeds.rb -------------------------------------------------------------------------------- /spec/rails/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/public/404.html -------------------------------------------------------------------------------- /spec/rails/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/public/422.html -------------------------------------------------------------------------------- /spec/rails/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/public/500.html -------------------------------------------------------------------------------- /spec/rails/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/public/robots.txt -------------------------------------------------------------------------------- /spec/rails/spec/requests/faml_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails/spec/requests/faml_spec.rb -------------------------------------------------------------------------------- /spec/rails/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/render/array_attribute_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/array_attribute_spec.rb -------------------------------------------------------------------------------- /spec/render/attribute_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/attribute_spec.rb -------------------------------------------------------------------------------- /spec/render/comment_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/comment_spec.rb -------------------------------------------------------------------------------- /spec/render/doctype_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/doctype_spec.rb -------------------------------------------------------------------------------- /spec/render/element_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/element_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/cdata_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/cdata_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/coffee_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/coffee_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/css_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/css_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/escaped_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/escaped_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/javascript_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/javascript_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/markdown_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/markdown_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/plain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/plain_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/preserve_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/preserve_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/ruby_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/ruby_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/sass_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/sass_spec.rb -------------------------------------------------------------------------------- /spec/render/filters/scss_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters/scss_spec.rb -------------------------------------------------------------------------------- /spec/render/filters_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/filters_spec.rb -------------------------------------------------------------------------------- /spec/render/haml_comment_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/haml_comment_spec.rb -------------------------------------------------------------------------------- /spec/render/hash_attribute_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/hash_attribute_spec.rb -------------------------------------------------------------------------------- /spec/render/helpers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/helpers_spec.rb -------------------------------------------------------------------------------- /spec/render/multiline_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/multiline_spec.rb -------------------------------------------------------------------------------- /spec/render/newline_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/newline_spec.rb -------------------------------------------------------------------------------- /spec/render/plain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/plain_spec.rb -------------------------------------------------------------------------------- /spec/render/preserve_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/preserve_spec.rb -------------------------------------------------------------------------------- /spec/render/sanitize_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/sanitize_spec.rb -------------------------------------------------------------------------------- /spec/render/script_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/script_spec.rb -------------------------------------------------------------------------------- /spec/render/silent_script_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/silent_script_spec.rb -------------------------------------------------------------------------------- /spec/render/unescape_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/render/unescape_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/incompatibilities_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/support/incompatibilities_generator.rb -------------------------------------------------------------------------------- /spec/tilt_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eagletmt/faml/HEAD/spec/tilt_spec.rb --------------------------------------------------------------------------------