Cassius
SSMLParser
Cassius | SSMLParser | |
---|---|---|
5 | 9 | |
90 | 33 | |
- | - | |
0.0 | 10.0 | |
about 1 year ago | over 3 years ago | |
Racket | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cassius
-
The Rules of Margin Collapse
FWIW, while there are unfortunately only very few attempts at formalizing CSS, there's at least an unofficial, unreviewed (?), partial formal semantics for (CSS 2-era) float layout based on z3 SMT and Racket you can take a look at to get a flavor, though it isn't receiving further development.
[1]: https://github.com/uwplse/cassius
[2]: https://pavpanchekha.com/blog/css-floats.html
-
W3C’s transfer from MIT to non-profit going poorly
Do we need W3C anymore? The HTML 5 specification has been created by WHATWG for many years now, with W3C only rubber-stamping historic WHATWG versions until 2017 or so. SVG2 is going nowhere, and so isn't MathML, leaving the CSS working group as W3C's remaining point of influence over the Web. CSS is regarded as so poor and overdone a specification that the only two external projects for a formal specification have failed or remained woefully incomplete (1, 2).
-
Is There Too Much CSS Now?
1. CSS should've been split into app-y styles and doc-y styles a looong time ago; meaning that when you need JavaScript to make use of a feature anyway, there's no point in using CSS and it's better to set styles, layout using JavaScript rather than bloat CSS. The Houdini API was on the right track years ago.
2. The CSS WG at W3C must deliver formal specification rather than the prose they're writing up now. For an idea how a (partial) formal spec for CSS rendering looks like, see eg. [1], [2] (with limitations).
The one way complexity that both W3C and WHATWG have delivered over the past 15 years with complete lack of mental discipline due to financial dependency/job security will be a major source of confusion for generations to cone, and will not be looked at favorably.
[1]: https://github.com/uwplse/cassius
[2]: https://github.com/lmeyerov/sc
-
Verifying GCC optimizations using an SMT solver
There's this cool project using z3 (and racket) for formalizing CSS rendering [1] I never came around to lift for anything. Maybe someone else interested in leading the web out of the dark ages and give W3C's CSS WG an idea what we expect from them will.
[1]: https://github.com/uwplse/cassius
-
Ladybird: A new cross-platform browser project
FWIW, I know two (partial, kinda) formal specifications of CSS normal flow and float layout, both of which are finished ie dead projects:
[1]: https://lmeyerov.github.io/projects/pbrowser/pubfiles/paper....
[2]: https://github.com/uwplse/cassius
(not counting the 1990s constraint CSS effort).
The first was merely part of a parallel compiler project and also covers table layout, whereas the second is a Racket (Scheme) program to formulate the HTML doc and CSS rules as a theory for submitting to z3 SMT to solve all kinds of decision problems (it can also produce a rendering).
Not sure that's very helpful; it would be cool if W3C can invest some time into better specs (not just prose).
SSMLParser
-
IAMA senior javascript dev, ask me anything
I even wrote an SSML parser in JavaScript https://github.com/guest271314/SSMLParser to prove the lack of SSML support in Web Speech API is not a technical difficult, rather a failure in the specification and a lack of will to implement by browser vendors How is a complete SSML document expected to be parsed when set once at .text property of SpeechSynthesisUtterance instance?.
-
speechSynthesis.getVoices() is broken on Firefox on Linux
Navigate to https://guest271314.github.io/SSMLParser/, click "Start speech synthesis". What happens?
-
Web Speech API is (still) broken on Linux circa 2023
I implemented SSML parsing using JavaScript https://github.com/guest271314/SSMLParser just to demonstrate the requirement is possible.
-
Build a Text-to-Speech component in React
I can run this page https://guest271314.github.io/SSMLParser/ without an issue.
-
[AskJS] You have mastered writing JavaScript from scratch, why use TypeScript?
I implemented SSML parsing in JavaScript by hand for Web Speech API per SSML specification https://github.com/guest271314/SSMLParser, where the Web Speech API nor Firefox nor Chrome or Chromium browsers (Google does implement SSML parsing as a service https://github.com/guest271314/GoogleNetworkSpeechSynthesis) have implemented SSML parsing.
-
W3C’s transfer from MIT to non-profit going poorly
I did using JavaScript https://github.com/guest271314/SSMLParser.
-
At what point in your programming journey do you step back and learn Data Structures and Algorithms?
For parsing SSML https://github.com/guest271314/SSMLParser there is the specification, which I implemented, to demonstrate the requirement is possible; there was and still is in that matter, simply a lack of will to implement in the browser. Google would rather try to get you to sign up for their cloud products.
-
'The best thing we can do today to JavaScript is to retire it,' says JSON creator Douglas Crockford • DEVCLASS
Thus, I wrote https://github.com/guest271314/SSMLParser and https://github.com/guest271314/native-messaging-espeak-ng.
What are some alternatives?
Radpath - Path library for Elixir inspired by Python's pathlib
speechd - Common high-level interface to speech synthesis
ex_guard - ExGuard is a mix command to handle events on file system modifications
common-voice - Common Voice is part of Mozilla's initiative to help teach machines how real people speak.
sizeable - An Elixir library to make File Sizes human-readable
speech-api - Web Speech API
servo-embedding-example - Examples of embedding Servo inside non-browser GL applications.
native-messaging-espeak-ng - Native Messaging => eSpeak NG => MediaStreamTrack
alive2 - Automatic verification of LLVM optimizations
GoogleNetworkSpeechSynthesis - Google's Network Speech Synthesis: Bring your own Google API key and proxy
wpt - Test suites for Web platform specs — including WHATWG, W3C, and others
native-messaging-bash - Bash Native Messaging host.