Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/altai-man/slang-kazu
A Raku "for fun" slang to use a subset of Japanese numerals in your code
https://github.com/altai-man/slang-kazu
japanese-language raku raku-module rakulang
Last synced: 4 months ago
JSON representation
A Raku "for fun" slang to use a subset of Japanese numerals in your code
- Host: GitHub
- URL: https://github.com/altai-man/slang-kazu
- Owner: Altai-man
- License: gpl-3.0
- Created: 2017-02-11T17:56:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T11:12:08.000Z (over 1 year ago)
- Last Synced: 2023-09-25T17:54:15.110Z (over 1 year ago)
- Topics: japanese-language, raku, raku-module, rakulang
- Language: Raku
- Homepage:
- Size: 29.3 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/Altai-man/Slang-Kazu.svg?branch=master)](https://travis-ci.org/Altai-man/Slang-Kazu)
NAME
====Slang::Kazu - Japanese numerals in your Raku
SYNOPSIS
========use Slang::Kazu;
say "3542" ~~ 三千五百四十二; # True
say '一' ~~ //; # Will match any digit from 1 to 9DESCRIPTION
===========Slang::Kazu is a Raku slang that allows you to use a subset of native Japanese numerals in your Raku code because you can.
You can use numbers from 1 to 99999. Counters are yet to be implemented. Mostly this is a clone of [drforr's](https://github.com/raku-community-modules/Slang-Roman) `Slang::Roman`, but for Japanese numerals - all thanks to him for the idea and the implementation.
Currently, incorrect numbers like `二二` are evaluated to `Nil` and you will see some scary errors because of that, so don't lose your kanji!
This project is just a joke and doesn't intented to be used in any serious codebases! You are warned.
AUTHOR
======Altai-man on Github, you can cast sena_kun on freenode too.
COPYRIGHT AND LICENSE
=====================Copyright ©
License GPLv3: The GNU General Public License, Version 3, 29 June 2007
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.