Skip to content
Perl 6 extension for working with the Periodic Table of Elements
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
lib/Chemistry
scratch
t
.appveyor.yml
.appveyor_clear_cache.txt
.gitignore
.travis.yml
CONTRIBUTORS
LICENSE
META6.json
Makefile
README.md

README.md

The Chemistry::Elements Perl 6 module

AppVeyor status Travis status artistic2

The Perl 5 version of Chemistry::Elements was my first module, so I'm making it my first Perl 6 module too. It's not complicated.

The module maps between element names (e.g. Rubidium), symbol (e.g. Ru ), and number (e.g. 37). It's multi-language aware although the language switching isn't sophisticated yet.

Copyright and License

This project is under Artistic 2.0 license.

Contributing Guidelines

Fork, edit, and pull request!

If you think you'll have big changes, create a GitHub issue and lets talk about it.

I'm looking at a future feature that includes the ability to translate between languages and things like that. If you'd like to add a language file, drop it in lib/Chemistry/Languages/. Make the first line a comment that lists the language codes. See lib/Chemistry/Languages/en.txt for example.

Good luck!

Enjoy,

brian d foy, bdfoy@cpan.org

You can’t perform that action at this time.