C::Sharp::Tokener - Tokeniser for C#
use C::Sharp::Tokener; do { ($token, $ttype, $remainder) = C::Sharp::Tokener::tokener($input); } while ($input = $remainder) use C::Sharp::Parser; $parser = new C::Sharp::Parser; $parser->YYParse(yylex => \&C::Sharp::Tokener::yy_tokener);
C# is the new .NET programming language from Microsoft; the Mono project is an Open Source implementation of .NET. This code, based on the Mono project, implements a tokeniser for C#. Combined with C::Sharp::Parser it can be used to create a compiler for C#.
C::Sharp::Parser
C::Sharp
Simon Cozens (simon@cpan.org) Based very, very heavily on code by Miguel de Icaza (miguel@gnu.org)
To install C::Sharp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm C::Sharp
CPAN shell
perl -MCPAN -e shell install C::Sharp
For more information on module installation, please visit the detailed CPAN module installation guide.