Help language development. Donate to The Perl Foundation

Slang::Subscripts cpan:ELIZABETH last updated on 2019-10-06

Slang-Subscripts-0.0.2/

NAME

Slang::Subscripts - Allow subscripts in identifiers, just as digits

SYNOPSIS

use Slang::Subscripts;

my $x₁ = 42; say $x₁;  # 42

DESCRIPTION

Slang::Subscripts modifies the Perl 6 grammar to make it possible to use numeric subscripts ₀₁₂₃₄₅₆₇₈₉ at the end of identifiers.

CREDITS

Idea shamelessly copied from Slang::Piersing by Tobias Leich.

AUTHOR

Elizabeth Mattijsen [email protected]

COPYRIGHT AND LICENSE

Copyright 2019 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.