Twitter | Pretraživanje | |
Daniel Silverstone 🏳️‍🌈🇬🇧
Mostly Grey former ginger with a preference for Rust. Leads wg-rustup, sorry about the mess. He/Him/His
11.243
Tweetovi
166
Pratim
455
Osobe koje vas prate
Tweetovi
Daniel Silverstone 🏳️‍🌈🇬🇧 2 h
Odgovor korisniku/ci @nuxeh
I would prefer an AST which was moderately easily returned to markdown, rather than one which is lower level (which I'd consider HTML to be) but not a bad idea if other options aren't useful inspiration enough, thanks.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 20 h
Odgovor korisniku/ci @bcardiff
Thanks.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 22 h
Odgovor korisniku/ci @monzo
Based on today's expenditure, mostly running :D
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 23 h
Odgovor korisniku/ci @bcardiff
A brief glance suggests is the AST -- is that right? (While I said any language will do, Crystal and Ruby are not ones I'm yet familiar with navigating)
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 24 h
Odgovor korisniku/ci @robhague
Nice. There will be easier to use options (e.g. using serde and yaml-rust directly to convert from yaml to Rust structs) but if you care about provenance and reporting errors then you might find `marked-yaml` to be of use :D Issues and PRs *gratefully* received.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 24 h
Odgovor korisniku/ci @kraut0xA
I've been directed toward mdast by someone in another place, but looking at those other impls sounds sensible too. Pandoc's AST is so far the most obvious thing to crib from.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @kraut0xA
The spec is definitely useful, though it doesn't really come out and say "this is the AST" it's more of a set of rules for identifying and parsing the components. AFAICT. Perhaps I missed an AST definition in my skim?
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @robhague
We also consume YAML as input, and I wrote over the past couple of weeks for similar purposes :D
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @robhague
I am working on a tool with a friend which consumes markdown as a semi-structured input format. In order to better report errors in the input, I want to be able to point at the line (and column perhaps) where the error exists.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @robhague
Thanks, added to the reading list.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @jmtd @rjek @pwaring
Not quite. I am putting together a provenanced Markdown AST and want to ensure that it's as nicely structured as it can be. Parsing Markdown is a total pig, but there're good libraries for that already.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Dear Lazyweb/Twitterverse, Do you have a favourite Markdown AST? I am already looking at Pandoc's AST for inspiration, but other examples would be useful. Any programming language is fine, I am capable of consuming ideas from most genres. Thanks, D.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 3. velj
Odgovor korisniku/ci @rbradford
I have my first pint of tea in hand as we speak :D
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 31. sij
Odgovor korisniku/ci @rustlang
For those interested, it's primary purpose is to allow you to report back to users when configuration values are bad etc, in a more effective way. Everyone loves provenanced errors.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 31. sij
This morning I released version 0.1.0 of `marked-yaml` which is a library crate for a simplified YAML data structure which provides spans (or at least start marks) for all the data you parse out of YAML strings.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 30. sij
Odgovor korisniku/ci @kianryan
Presumably either there's some super-secret headers need to add, or gmail needs to learn to cope with their emails.
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 29. sij
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 29. sij
Odgovor korisniku/ci @nick_r_cameron
So far you've not been recommending it, but in 4 days of Go, surely you have encountered something *positive* to say ?
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 29. sij
Photos of me looking nearly dead, and utterly dead, from the Heaton 10K last Sunday...
Reply Retweet Označi sa "sviđa mi se"
Daniel Silverstone 🏳️‍🌈🇬🇧 29. sij
Odgovor korisniku/ci @bigpumpkin
I'd say 'cry' but honestly my ducts are dry, despite hyperhydration efforts.
Reply Retweet Označi sa "sviđa mi se"