README

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 [email protected]

Source can be located at: https://github.com/lizmat/Slang-Subscripts . Comments and Pull Requests are welcome.

If you like this module, or what I’m doing more generally, committing to a small sponsorship would mean a great deal to me!

COPYRIGHT AND LICENSE

Copyright 2019, 2021, 2023, 2025 Elizabeth Mattijsen

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

Slang::Subscripts v0.0.9

Allow subscripts in identifiers, just as digits

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Slangify:ver<0.0.4+>:auth<zef:lizmat>

Test Dependencies

Provides

  • Slang::Subscripts

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.