← Back to context

Comment by taberiand

3 months ago

I feel like it'd be entirely acceptable to load the inputs into tables first and still qualify as pure sql, because string parsing in sql is so blergh

Input in AoC is always well-formed. And you can always use a regexp? Seems like the smallest problem to me. As soon as you get past that recursive one row per line trick in the posted solutions

  • Obviously it's possible, particularly in this context, but generally speaking I'd rather avoid it.