_____ _ _ ____ _
|__ /___| |_| |_ __ _ / ___|___ __| | ___
/ // _ \ __| __/ _` | | | / _ \ / _` |/ _ \
/ /| __/ |_| || (_| | | |__| (_) | (_| | __/
/____\___|\__|\__\__,_| \____\___/ \__,_|\___|
Zettacode
This repository has two sections:
zettacode
app source code- Repository of processed files usign
zettacode
. Every time, I use it, I will save outputs into files.zettacode
folder.
1. Application
zettacode
is an application that helps us perform various tasks with files from the rosettacode.org website.
Features:
- Free license
- Multiplatform
- Command Application
1.1 Installation
- Install Ruby on your host.
ruby -v
, check current Ruby version (Require version >= 3.1.0)gem install zettacode
, to install "zettacode" gem.zettacode -v
, show current version.
1.2 Usage
Parse local XML file
- Goto RosettaCode export page.
- Add 1 page manually and export.
zettacode --parse PATH/TO/XML/FILE
, execute Zettacode to parse XML file into code files.- The files are created in the
files.zettacode
folder.
TODO:
Next version will include Scrap RosettaCode function
1.3 Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/dvarrui/zettacode.