├── .github └── workflows │ └── main.yml ├── .gitignore ├── .prettierignore ├── LICENSE.md ├── README.md ├── engine.go ├── engine_base_errorhandling_test.go ├── engine_base_test.go ├── engine_es_ie_test.go ├── engine_extended_test.go ├── engine_testutils_test.go ├── engine_testutilsformat_test.go ├── engine_waxJSObj.go ├── engine_writer.go ├── examples └── http-std │ ├── cmd │ └── main.go │ ├── go.mod │ ├── go.sum │ └── views │ └── hello.tsx ├── extra ├── gots │ ├── README.md │ ├── byReflect.go │ ├── byReflect_test.go │ ├── go.mod │ ├── go.sum │ └── makefile ├── jsx │ ├── README.md │ ├── index.d.ts │ ├── jsx-runtime.d.ts │ ├── jsx-runtime.js │ ├── jsx.events.d.ts │ ├── jsx.htmx.d.ts │ ├── package.json │ └── tsconfig.json └── livereload │ ├── README.md │ ├── go.mod │ ├── go.sum │ └── livereload.go ├── go.mod ├── go.sum ├── jsx-helpers.go ├── jsx-tree-sitter.go ├── makefile ├── testdata ├── attribute_boolean_enumerable.expected ├── attribute_boolean_enumerable.jsx ├── attributes_Boolean.expected ├── attributes_Boolean.jsx ├── base.expected ├── base.jsx ├── basicTypes.expected ├── basicTypes.jsx ├── basicTypes_from_model.expected ├── basicTypes_from_model.jsx ├── closingElement.expected ├── closingElement.jsx ├── escaping.expected ├── escaping.jsx ├── import_class.expected ├── import_class.tsx ├── omit_falsey.expected ├── omit_falsey.jsx ├── other01.expected ├── other01.tsx ├── other02.expected ├── other02.tsx ├── otherStyle.expected ├── otherStyle.tsx ├── someclass.tsx ├── textarea_value.expected ├── textarea_value.jsx └── tsconfig.json └── viewResolver_fs.go /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | ./testdata/** -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/README.md -------------------------------------------------------------------------------- /engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine.go -------------------------------------------------------------------------------- /engine_base_errorhandling_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_base_errorhandling_test.go -------------------------------------------------------------------------------- /engine_base_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_base_test.go -------------------------------------------------------------------------------- /engine_es_ie_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_es_ie_test.go -------------------------------------------------------------------------------- /engine_extended_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_extended_test.go -------------------------------------------------------------------------------- /engine_testutils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_testutils_test.go -------------------------------------------------------------------------------- /engine_testutilsformat_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_testutilsformat_test.go -------------------------------------------------------------------------------- /engine_waxJSObj.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_waxJSObj.go -------------------------------------------------------------------------------- /engine_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/engine_writer.go -------------------------------------------------------------------------------- /examples/http-std/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/examples/http-std/cmd/main.go -------------------------------------------------------------------------------- /examples/http-std/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/examples/http-std/go.mod -------------------------------------------------------------------------------- /examples/http-std/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/examples/http-std/go.sum -------------------------------------------------------------------------------- /examples/http-std/views/hello.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/examples/http-std/views/hello.tsx -------------------------------------------------------------------------------- /extra/gots/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/README.md -------------------------------------------------------------------------------- /extra/gots/byReflect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/byReflect.go -------------------------------------------------------------------------------- /extra/gots/byReflect_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/byReflect_test.go -------------------------------------------------------------------------------- /extra/gots/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/go.mod -------------------------------------------------------------------------------- /extra/gots/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/go.sum -------------------------------------------------------------------------------- /extra/gots/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/gots/makefile -------------------------------------------------------------------------------- /extra/jsx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/README.md -------------------------------------------------------------------------------- /extra/jsx/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/index.d.ts -------------------------------------------------------------------------------- /extra/jsx/jsx-runtime.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/jsx-runtime.d.ts -------------------------------------------------------------------------------- /extra/jsx/jsx-runtime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/jsx-runtime.js -------------------------------------------------------------------------------- /extra/jsx/jsx.events.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/jsx.events.d.ts -------------------------------------------------------------------------------- /extra/jsx/jsx.htmx.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/jsx.htmx.d.ts -------------------------------------------------------------------------------- /extra/jsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/package.json -------------------------------------------------------------------------------- /extra/jsx/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/jsx/tsconfig.json -------------------------------------------------------------------------------- /extra/livereload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/livereload/README.md -------------------------------------------------------------------------------- /extra/livereload/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/livereload/go.mod -------------------------------------------------------------------------------- /extra/livereload/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/livereload/go.sum -------------------------------------------------------------------------------- /extra/livereload/livereload.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/extra/livereload/livereload.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/go.sum -------------------------------------------------------------------------------- /jsx-helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/jsx-helpers.go -------------------------------------------------------------------------------- /jsx-tree-sitter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/jsx-tree-sitter.go -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/makefile -------------------------------------------------------------------------------- /testdata/attribute_boolean_enumerable.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/attribute_boolean_enumerable.expected -------------------------------------------------------------------------------- /testdata/attribute_boolean_enumerable.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/attribute_boolean_enumerable.jsx -------------------------------------------------------------------------------- /testdata/attributes_Boolean.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/attributes_Boolean.expected -------------------------------------------------------------------------------- /testdata/attributes_Boolean.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/attributes_Boolean.jsx -------------------------------------------------------------------------------- /testdata/base.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/base.expected -------------------------------------------------------------------------------- /testdata/base.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/base.jsx -------------------------------------------------------------------------------- /testdata/basicTypes.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/basicTypes.expected -------------------------------------------------------------------------------- /testdata/basicTypes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/basicTypes.jsx -------------------------------------------------------------------------------- /testdata/basicTypes_from_model.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/basicTypes_from_model.expected -------------------------------------------------------------------------------- /testdata/basicTypes_from_model.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/basicTypes_from_model.jsx -------------------------------------------------------------------------------- /testdata/closingElement.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/closingElement.expected -------------------------------------------------------------------------------- /testdata/closingElement.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/closingElement.jsx -------------------------------------------------------------------------------- /testdata/escaping.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/escaping.expected -------------------------------------------------------------------------------- /testdata/escaping.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/escaping.jsx -------------------------------------------------------------------------------- /testdata/import_class.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/import_class.expected -------------------------------------------------------------------------------- /testdata/import_class.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/import_class.tsx -------------------------------------------------------------------------------- /testdata/omit_falsey.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/omit_falsey.expected -------------------------------------------------------------------------------- /testdata/omit_falsey.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/omit_falsey.jsx -------------------------------------------------------------------------------- /testdata/other01.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/other01.expected -------------------------------------------------------------------------------- /testdata/other01.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/other01.tsx -------------------------------------------------------------------------------- /testdata/other02.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/other02.expected -------------------------------------------------------------------------------- /testdata/other02.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/other02.tsx -------------------------------------------------------------------------------- /testdata/otherStyle.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/otherStyle.expected -------------------------------------------------------------------------------- /testdata/otherStyle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/otherStyle.tsx -------------------------------------------------------------------------------- /testdata/someclass.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/someclass.tsx -------------------------------------------------------------------------------- /testdata/textarea_value.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/textarea_value.expected -------------------------------------------------------------------------------- /testdata/textarea_value.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/textarea_value.jsx -------------------------------------------------------------------------------- /testdata/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/testdata/tsconfig.json -------------------------------------------------------------------------------- /viewResolver_fs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michal-laskowski/wax/HEAD/viewResolver_fs.go --------------------------------------------------------------------------------