RosettaCodeData
RosettaCode Data Project
Install / Use
/learn @acmeism/RosettaCodeDataREADME
RosettaCode Data Project
This git repository contains (almost) all of the code samples available on http://rosettacode.org organized by Language and Task.
Getting the Data
All of the data is in this repository, so you can just run:
git clone https://github.com/acmeism/RosettaCodeData
However...
It's a lot of data!
If you just want the latest data, the quickest thing to do is:
git clone https://github.com/acmeism/RosettaCodeData --single-branch --depth=1
Tools
This repository's data content is created by a Perl program called
rosettacode.
You can install it with this command:
cpanm RosettaCode
You can rebuild the data with:
make build
This repository has a bin directory with various tools for working with the
data.
-
rcd-api-list-all-langsList all the programming language names directly from rosettacode.org
-
rcd-api-list-all-tasksList all the programming task names directly from rosettacode.org
-
rcd-new-langsList the RosettaCode languages not yet add to Conf
-
rcd-new-tasksList the RosettaCode tasks not yet add to Conf
-
rcd-samples-per-langShow the number of code samples per language
-
rcd-samples-per-taskShow the number of code samples per task
-
rcd-tasks-per-langShow the number of tasks with code samples per language
-
rcd-langs-per-taskShow the number of languages with code samples per task
To Do
Pull requests welcome!
This project is not a perfect representation of RosettaCode yet. It has a few uncicode issues. It also has to deal with various formatting mistakes in the mediawiki source pages.
-
Fix bugs
-
Correct the 100s of guessed file extensions in
Conf/lang.yaml -
Ability to only fetch cache pages since last pushed data update
-
Support names with non-ascii characters
-
Add more bin tools
-
Address errors reported in rosettacode.log after running
make build
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
