alilleybrinker / langs-in-rust

A list of programming languages implemented in Rust, for inspiration.
850 stars 58 forks source link

Replace Python script w/ Cargo script. #109

Open alilleybrinker opened 8 months ago

alilleybrinker commented 8 months ago

Fixes #102.

This replaces the Python script for updating data for the tracked languages and regenerating the README with a new Cargo script, which lets us use Rust code instead of Python!

alilleybrinker commented 8 months ago

Quick design thing. Related to this, I'm thinking of the following:

So the workflow as a contributor would be:

  1. Add a language to languages.toml
  2. Running ./update.rs -u to update cached data for any langs on GitHub.
  3. Running ./update.rs -g to generate a new README.md file.
alilleybrinker commented 8 months ago

In terms of commands, I'd like to replace the existing commands and rename the script, so it becomes: ./langs [add/remove/edit/update].

alilleybrinker commented 8 months ago

Also probably just have one cache file. Maybe consider even making it SQLite