GitHub / feathers-studio/hypercss / commits
🏇 Strictly spec-compliant CSS parser in TypeScript
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| b3a7b9fa |
chore: update version
Signed-off-by: Muthu Kumar <m****r@t****n> |
Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 047772af | feat: Token::type->kind, add NumberToken::type | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| d7e4a6f4 | feat: add offset to Debug Position | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 42a8f2cc | feat: accept Stylesheet filename | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 80f13530 | test: add hashtoken test | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 435734cb | feat: just make debug optional | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 925f5f68 | tests: update tests to exclude debug, more tests | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| e21ff5fb | feat: unicodeRangesAllowed is optional | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 74d0b618 | feat: better debug(from, to) | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 46021968 | feat: remove all assersions, use unreachable() | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 220ad83e | feat: make debug an optional param | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 057085dd | feat: add .debug in toJSON | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 8703b343 | feat: add debug to track line, column | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 904d3d2e | chore: fix license and README | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 74693f01 | docs: fix link below img | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| a92cd3ea | docs: update README | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 3b50d770 | docs: dump css-syntax spec to /spec | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 33353b16 | chore: cleanup | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 963f7960 | chore: replace all var with const, let | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 29d12af9 | chore: rm outdated test | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| dab27d7a | test: update tests! | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 2bd7e562 | chore: update package.json | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| a2132794 | feat: link every item to spec + consistent naming | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| e387aab7 | feat: rigorous conversion to TS | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 1106cb2c | feat: add support for unicode-range | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| e5f843dc | chore: js->ts, rm diff.js | Muthu Kumar <m****r@t****n> | almost 3 years ago | |
| 0c4d5540 | Serialize `COMMA` token as `,` not as a semicolon (#49) |
Romain Menke <1****e@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6f8f9d53 | Remove parse branches about the removed *Match and Column tokens. Fixes #48 | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| fa83eb1f | typo | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 28735b0b | Again, this is JS, not Python. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 48d63c63 | Properly join, and invoke indent correctly. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 9dac9e8e | actually return things | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| cc953e94 | Use the JS join, not the Python one. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 8572a8f4 | Add toSource() to the constructs | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 21cbfbe8 | SPELL IT RIGHT | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 2d412330 | spell it right | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 45d59780 | Actually *use* the sign character. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 1a9adc8b | Update to the new spec for parsing numbers and number tokens. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| d1289843 | Add HashToken.isIdent, replacing the old HashToken.type, and use it properly. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| df2089c6 | Add missing escapeIdentCode(). Fixes #46 | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 998aced5 | Update consumeAListOfRules into consumeAStylesheetsContents, to match spec. E... | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 2117221b | Update the non-ascii definition. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| aa45c3c1 | Switch all the old-style classes to the class keyword. Change some source and... | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| ce8e4a70 | Remove grammar canonicalization, now that it's not required to parse. | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 1d95801e | Update all the parsing algorithms to new Syntax spec | Tab Atkins-Bittner <j****e@g****m> | over 3 years ago | |
| 893b11ee | merge Merge pull request #45 from arnog/patch-1 |
Tab Atkins Jr <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
over 6 years ago | |
| 2a7f1e94 | Fix calculation of Unicode surrogate pairs |
Arno Gourdol <a****o@a****g>
Committed by: GitHub <n****y@g****m> |
over 6 years ago | |
| b3e508fe | Need 0x29 (close paren) not 0x2d (hyphen). Fixes #43. |
Tab Atkins Jr <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
over 9 years ago | |
| 091cf166 | merge Merge pull request #42 from FremyCompany/patch-2 |
Tab Atkins Jr <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 10 years ago | |
| 9bb5a49c | Fix missing prelude for qualified rules afer canonicalize |
François REMY <f****b@y****r>
Committed by: GitHub <n****y@g****m> |
about 10 years ago | |
| 0d442e04 | merge Merge pull request #39 from Gregable/patch-1 | Tab Atkins Jr. <j****e@g****m> | almost 11 years ago | |
| c5f75cd9 | Update parse-css.js | Greg Grothaus <g****u@g****m> | almost 11 years ago | |
| 5644a8fc | merge Merge pull request #37 from kolodny/patch-1 | Tab Atkins Jr. <j****e@g****m> | about 11 years ago | |
| 28248e87 | Update package.json | Moshe Kolodny <k****b@g****m> | about 11 years ago | |
| a87beda0 | Fix @font-feature-values grammar. | Tab Atkins <j****e@g****m> | about 11 years ago | |
| d903f575 | Put the CSSGrammar into the readme as an example. | Tab Atkins <j****e@g****m> | about 11 years ago | |
| 5bd2f432 | Fix markup | Tab Atkins Jr. <j****e@g****m> | about 11 years ago | |
| ce0770e8 | Describe the structure of the returned value from canonicalize(). | Tab Atkins <j****e@g****m> | about 11 years ago | |
| 6659bc52 | Update README with the canonicalize() stuff. | Tab Atkins <j****e@g****m> | about 11 years ago | |
| 76cc4388 | First draft of canonicalize, which transforms a parsed tree via a grammar int... | Tab Atkins <j****e@g****m> | about 11 years ago | |
| a878df15 | merge Merge pull request #33 from tromey/fix-surrogate-pairs | Tab Atkins Jr. <j****e@g****m> | over 11 years ago | |
| 0175f038 | fix some buglets in surrogate pair decoding | Tom Tromey <t****m@t****m> | over 11 years ago | |
| 433a2257 | Update test.html to actually work. Fixes #28. | Tab Atkins <j****e@g****m> | almost 12 years ago | |
| 91f2450b | typo | Tab Atkins Jr. <j****e@g****m> | almost 12 years ago | |
| 5503d460 | Newlines get normalized to U+000A during preprocessing now. | Tab Atkins Jr. <j****e@g****m> | almost 12 years ago | |
| 2fb01dcd | Remove debugging console.log() I accidentally left in there. | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| 8a31eccb | Directly stringify the parsing result, so functions that return arrays work c... | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| 0bdafabf | Give Declaration a proper toJSON that carries all of its info. | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| d201cb54 | typos | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| da37a979 | Initialize the URLToken properly. | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| 248ff57f | Need to push the last list before returning. | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| c45b3060 | Add normalizeInput to the functions it's missing in. Fix typos. | Tab Atkins Jr <j****e@g****m> | almost 12 years ago | |
| 5725b04c | Add link to the dingus. | tabatkins <j****e@g****m> | almost 12 years ago | |
| 78ee6254 | Use the new name of the js file. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 03e3796a | Add `InvalidCharacterError` | Mathias Bynens <m****s@q****e> | about 12 years ago | |
| f43a69a8 | Fix escape parsing. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| ffcd117e | Whoops, broke string reserialization. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 35c0a3f0 | Fill in the escapeFoo() functions. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 9f746e2a | Begin adding toSource methods. WIP. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 68820362 | Fix StringToken construction. Actually pass the stream to parseAFunction/Simp... | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 7f692ae7 | Sync url() fix. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 05c3ef47 | typo | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 8a2f8415 | Release v0.1.0 | Mathias Bynens <m****s@q****e> | about 12 years ago | |
| 89a4e820 | Allow running the tests with `npm test` | Mathias Bynens <m****s@q****e> | about 12 years ago | |
| cccb6402 | Rename css-parser.js to match the new project name. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 541164f2 | Update readme. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 158895ad | Merge tokenizer.js into parser.js, rename parser.js to css-parser.js. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 93e30793 | I handle astrals now, so kill comment implying I don't. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 54d19956 | Don't pollute the global scope, dummy. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| ce0c64af | Whoops, need to test for \r\n *before* converting lone \rs into \ns. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| a0efe0c0 | Add .important to Declaration | Tab Atkins <j****e@g****m> | about 12 years ago | |
| b192d2e1 | Update README to reflect the fact that it's now maintained again. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| b8dd660b | Sync parser with Syntax spec as well. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| e06889b6 | Add a guard to next() to warn if there's too much lookahead. | Tab Atkins <j****e@g****m> | about 12 years ago | |
| 257139a8 | merge Sync the tokenizer with the Syntax spec. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 629c4ace | Tokenizer rewritten to match Syntax spec. Needs extensive testing, but works ... | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| c93f5455 | typo | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| 41f5065e | Changed ascii char to < u+80. | Tab Atkins Jr <j****e@g****m> | about 12 years ago | |
| cdd337f4 | Update README.md | tabatkins <j****e@g****m> | over 12 years ago | |
| 8fdad882 | Note lack of maintenance. | tabatkins <j****e@g****m> | over 12 years ago |