No description, website, or topics provided.
Perl 6
Switch branches/tags
Nothing to show
Latest commit 278b94e Jun 10, 2017 @Altai-man Altai-man Merge pull request #2 from zoffixznet/patch-1
Fix incorrect source URL
Permalink
Failed to load latest commit information.
bin
lib/Texas/To Special cases were extracted from the table and readme was fixed a bit Aug 15, 2016
t Initial commit Aug 15, 2016
.gitignore Initial commit Aug 15, 2016
LICENSE Add LICENSE text Aug 15, 2016
META6.json Fix incorrect source URL Jun 10, 2017
README.md Special cases were extracted from the table and readme was fixed a bit Aug 15, 2016

README.md

Texas::To::Uni

WORK IN PROGRESS

This package provides you a basic(and incomplete) way to convert operators in your Perl 6-related files from Texas(ASCII-based) version to Unicode symbol version.

It doesn't support some operators and have some limitations, but it will be improved in the future.

Usage

The most simple example is:

use Texas::To::Uni;

convert-file($filename);

This module has two basic subroutines:

  • convert-file - it takes file name and by default points output to a new file with extension like old-file-name.uni.old-extension. New path can be set in :$new-path named argument. It can rewrite file if :$rewrite flag was set. However, rewriting is not recommended, since this module is still buggy and can mess up your work.

  • convert-string - internal function that takes read-write string and converts it accordingly to operator table.

Contribution

Pull requests are welcome: new tests, fixes, improvements or just suggestions in the Issue.