Rand Stats

Slang::Subscripts

zef:lizmat

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 Raku 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 liz@raku.rocks

COPYRIGHT AND LICENSE

Copyright 2019, 2021 Elizabeth Mattijsen

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