Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evuez/godc

A dumb "dc" parser.
https://github.com/evuez/godc

Last synced: 1 day ago
JSON representation

A dumb "dc" parser.

Awesome Lists containing this project

README

        

# godc

A "dc" parser.

I read [this nice article](https://eklitzke.org/summing-integer-ranges-with-dc) on summing integer ranges with [dc](https://en.wikipedia.org/wiki/Dc_(computer_program)) and thought it'd be fun to implement an interpreter for the language. Except, lazy as I am I didn't want to read the spec so my implementation is solely based on this article (and I didn't actually test if it'd work with anything else than `36[d1-d1