Skip to content

Commit bd42216

Browse files
authored
Merge pull request #786 from tbrowder/pragmas
Add a page for pragmas
2 parents c8f8763 + a56f0e6 commit bd42216

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

doc/Language/pragmas.pod6

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
=begin pod
2+
3+
=TITLE Pragmas
4+
5+
=SUBTITLE Special modules for special use
6+
7+
In Perl 6 B<pragmas> are core modules used to either identify a
8+
specific version of Perl 6 to be used or to modify its normal behavior
9+
in some way. They are "use"ed in your code just as normal modules:
10+
11+
=begin code
12+
use v6;
13+
=end code
14+
15+
Following is a list of pragmas with a short description of each
16+
pragma's purpose or a link to more details about its use. (Note:
17+
Pragmas marked "NYI" are not yet implemented, and those marked "TBD"
18+
are to be defined later.)
19+
20+
=comment The following should be a table but formatting in tables is
21+
not yet rendered properly.
22+
23+
=item B<MONKEY-BARS>
24+
: NYI
25+
26+
=item B<MONKEY-BRAINS>
27+
: NYI
28+
29+
=item B<MONKEY-BUSINESS>
30+
: NYI
31+
32+
=item B<MONKEY-GUTS>
33+
: NYI
34+
35+
=item B<MONKEY-SEE-NO-EVAL>
36+
: L<EVAL|https://docs.perl6.org/routine/EVAL>
37+
38+
=item B<MONKEY-SHINE>
39+
: NYI
40+
41+
=item B<MONKEY-TRAP>
42+
: NYI
43+
44+
=item B<MONKEY-TYPING>
45+
: L<augment|https://docs.perl6.org/syntax/augmen>
46+
47+
=item B<MONKEY-WRENCH>
48+
: NYI
49+
50+
=item B<experimental>
51+
: allows use of experimental features
52+
53+
=item B<fatal>
54+
: NYI
55+
56+
=item B<internals>
57+
: NYI
58+
59+
=item B<invocant>
60+
: NYI
61+
62+
=item B<lib>
63+
: L<Finding Modules|https://docs.perl6.org/language/modules#Finding_Modules>
64+
65+
=item B<newline>
66+
: TBD
67+
68+
=item B<nqp>
69+
: TBD
70+
71+
=item B<parameters>
72+
: NYI
73+
74+
=item B<precompilation>
75+
: TBD
76+
77+
=item B<soft>
78+
: L<Re-dispatching|https://docs.perl6.org/language/functions#Re-dispatching>
79+
80+
=item B<strict>
81+
: TBD
82+
83+
=item B<trace>
84+
: TBD
85+
86+
=item B<v6>
87+
: L<Writing Tests|https://docs.perl6.org/language/testing#Writing_tests>
88+
89+
=item B<variables>
90+
: L<Defined Variables Pragma|https://docs.perl6.org/language/variables#Default_Defined_Variables_Pragma>
91+
92+
=item B<worries>
93+
: TBD
94+
95+
96+
=end pod

0 commit comments

Comments
 (0)