Terra Informatica Software
UI and frontend software design and consulting since 1991
andrew, are you using the native tokenizer of TIScript?
So far I have two types of tokenizers: #markup and #source, the #markup supports HTML, XML, SVG, etc. and #source is generic tokenizer for all sources that use Java/JS/C/C++/D/TIScript alike syntax. CSS falls to that category with some adjustments ( name token in CSS can contain ‘-‘ ).
Yet, the tokenizer supports stacked mode: you can declare “islands” of different syntax. This way I am parsing CSS-inside-HTML and script-inside-HTML.
well I note it also tokening CSS… good work
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Please enter an answer in digits: