├── README.md ├── examples ├── config.nims └── dump_css_tokens.nim ├── nim.cfg ├── src ├── stylus.nim └── stylus │ ├── parser.nim │ ├── shared.nim │ ├── tokenizer.nim │ └── utils.nim ├── stylus.nimble ├── testing_data ├── basic.css ├── erroneous.css └── nth001.css └── tests ├── common.nim ├── config.nims ├── conv_test.nim ├── parser1.nim ├── test1.nim └── tokenizer1.nim /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/README.md -------------------------------------------------------------------------------- /examples/config.nims: -------------------------------------------------------------------------------- 1 | switch("path", "$projectDir/../src") -------------------------------------------------------------------------------- /examples/dump_css_tokens.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/examples/dump_css_tokens.nim -------------------------------------------------------------------------------- /nim.cfg: -------------------------------------------------------------------------------- 1 | --deepcopy:on 2 | -------------------------------------------------------------------------------- /src/stylus.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/src/stylus.nim -------------------------------------------------------------------------------- /src/stylus/parser.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/src/stylus/parser.nim -------------------------------------------------------------------------------- /src/stylus/shared.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/src/stylus/shared.nim -------------------------------------------------------------------------------- /src/stylus/tokenizer.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/src/stylus/tokenizer.nim -------------------------------------------------------------------------------- /src/stylus/utils.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/src/stylus/utils.nim -------------------------------------------------------------------------------- /stylus.nimble: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/stylus.nimble -------------------------------------------------------------------------------- /testing_data/basic.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/testing_data/basic.css -------------------------------------------------------------------------------- /testing_data/erroneous.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/testing_data/erroneous.css -------------------------------------------------------------------------------- /testing_data/nth001.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/testing_data/nth001.css -------------------------------------------------------------------------------- /tests/common.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/tests/common.nim -------------------------------------------------------------------------------- /tests/config.nims: -------------------------------------------------------------------------------- 1 | switch("path", "$projectDir/../src") -------------------------------------------------------------------------------- /tests/conv_test.nim: -------------------------------------------------------------------------------- 1 | let c = ')' 2 | 3 | echo c.uint 4 | -------------------------------------------------------------------------------- /tests/parser1.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/tests/parser1.nim -------------------------------------------------------------------------------- /tests/test1.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/tests/test1.nim -------------------------------------------------------------------------------- /tests/tokenizer1.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ferus-web/stylus/HEAD/tests/tokenizer1.nim --------------------------------------------------------------------------------