What is the best way to read a text file of your input in your language of choice?

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • aoc2021

  • aoc

    Advent of Code solutions (by sjmulder)

  • I have not used proper reveres from C yet, sorry. I did write a rough intcode assembly parser: https://github.com/sjmulder/aoc/blob/master/2019/intcode/intas.c

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • advent-of-code-typescript-starter

    Typescript template in Node.js for Advent of Code event

  • I found this which I found super helpful: https://github.com/ljgago/advent-of-code-typescript-starter It's a Node package that takes care of a lot of the simple setup and is really well structured.

  • aoc2021

    Advent of Code 2021 Solutions (by nlowe)

  • Basically challenge.Input which is a wrapper around a *bufio.Scanner

  • advent-of-code-2021

    Solutions to Advent of Code 2021 (by warriordog)

  • I'm using Javascript (NodeJS) again this year. I've got a small common/io.js module that exports this function:

  • advent-of-code

    For sharing my adventofcode.com solutions (by kbielefe)

  • This year I'm creating a Scala library to make it easier. I specify a type like List[Int] and it summons the correct type classes to parse it into that format for me.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts