Skip to content

Commit

Permalink
Merge pull request #3238 from tbrowder/p6toraku-faq
Browse files Browse the repository at this point in the history
chg p6 to raku; add onfo on kebab case
  • Loading branch information
JJ committed Feb 25, 2020
2 parents d6324db + 0dc1b50 commit 19f272b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions doc/Language/faq.pod6
Expand Up @@ -26,11 +26,11 @@ No. The first stable language specification version is v6.c
("Christmas"). Future versions of the spec may have point releases (e.g.,
v6.d.2) or major releases (e.g., v6.e).
Running C<perl6 -v> will display the language version your compiler
Running C<raku -v> will display the language version your compiler
implements:
=for code :lang<shell>
$ perl6 -v
$ raku -v
This is Rakudo version 2017.07 built on MoarVM version 2017.07
implementing Raku.c.
Expand Down Expand Up @@ -194,7 +194,7 @@ L«C<App::Mi6> tool|https://modules.raku.org/l/App::Mi6» can simplify the
uploading process. The
L«C<zef> module installer|https://github.com/ugexe/zef»
automatically check for latest versions of a module on CPAN as well as our
L<GitHub-based ecosystem|https://github.com/perl6/ecosystem/>.
L<GitHub-based ecosystem|https://github.com/Raku/ecosystem/>.
X<|p6doc (FAQ)> X<|perldoc (FAQ)>
=head2 Is there a perldoc (command line documentation viewer) for Raku?
Expand Down Expand Up @@ -262,11 +262,11 @@ Many more modules can be found in the L<ecosystem|https://modules.raku.org/>.
=head2 Is there something like C<B::Deparse>/How can I get hold of the AST?
Use C<--target=optimize> command line option to view the AST of your program,
e.g., C<perl6 --target=optimize -e 'say "hi"'>
e.g., C<raku --target=optimize -e 'say "hi"'>
The target C<optimize> gives the AST after the static optimizer does its job,
while target C<ast> gives the AST before that step. To get the full list of
available targets, run C<perl6 --stagestats -e "">
available targets, run C<raku --stagestats -e "">
X<|Precompile (FAQ)>
=head2 What is precompilation?
Expand Down Expand Up @@ -746,7 +746,7 @@ C<OpaquePointer> is deprecated and has been replaced with C<Pointer>.
L<Identifiers can include colon pairs, which become part of their name|/language/syntax#Identifiers>.
According to
L<Larry Wall's answer to the issue|https://github.com/perl6/doc/issues/1753#issuecomment-362875676>,
L<Larry Wall's answer to the issue|https://github.com/Raku/doc/issues/1753#issuecomment-362875676>,
I<We
already had the colon pair mechanism available, so it was a no-brainer to use
that to extend any name that needs to be able to quote uniquefying but
Expand Down Expand Up @@ -968,6 +968,12 @@ Huffman-coding of names allows for better readability.
=item Lazy lists defined with a simple iterator interface, which any class can
supply by minimally supplying a single method.
=item Ability to use hyphens and other non-alphanumeric ASCII
characters as well as certain Unicode characters in identifiers. (Using
hyphens instead of underscores in test is commonly called "kebab case"
among its users. See also "camel case" and "snake case":
L<https://en.wikipedia.org/wiki/Letter_case#Special_case_styles>.)
=item Raku's mottos remain the same as they have been for Perl all along:
“Perl is different. In a nutshell, Perl is designed to make the easy jobs easy,
without making the hard jobs impossible.” and “There Is More Than One Way To Do
Expand Down

0 comments on commit 19f272b

Please sign in to comment.