Skip to content

Commit fc24faf

Browse files
committed
Adds compilation unit/compunit to the glossary
It was missing so far, with compunit pointing to the definition of several compilation units. Once again, @jnthn document is essential, and definition sentence basically copypasted from there. Refs #502.
1 parent 9fd2e77 commit fc24faf

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

doc/Language/glossary.pod6

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -456,22 +456,30 @@ X<|autopun>
456456
A self-referencing pun, e.g. "Are you ignorant or apathetic?" - "I don't
457457
know, and I don't care."
458458
459-
=head2 backlog
460459
X<|backlog>
460+
=head2 backlog
461461
462462
That part of a discussion on an L<#IRC> channel that you've missed. If it is
463463
not or no longer available in your IRC client, you can go to sites such as
464464
L<http://colabti.org/irclogger/irclogger_logs/perl6> to see what has been logged
465465
for you.
466466
467-
=head2 Bot
468467
X<|Bot>
468+
=head2 Bot
469469
470470
A program that does automatic tasks on one or more L<#IRC> channels by
471471
acting like a regular user (as far as the IRC server is concerned) and
472472
performing some tasks that may involve answering to users requests.
473473
Examples are L<#camelia>, L<#dalek> and L<#yoleaux>.
474474
475+
X<|compunit (glossary)>
476+
X<|compilation unit>
477+
=head2 Compilation unit or I<compunit>
478+
479+
A compunit is L<a piece of Perl 6 code that is analyzed and compiled as a single unit|https://github.com/rakudo/rakudo/blob/master/docs/module_management.md>.
480+
Typically, this piece of code will be contained in a single file, but code
481+
inside an L<EVAL> is also considered a compunit.
482+
475483
=head2 DWIM
476484
X<|DWIM>
477485
@@ -717,7 +725,10 @@ and are subject to L<Multi-Dispatch|#Multi-Dispatch>.
717725
718726
=head1 NFG
719727
720-
Normal Form Grapheme is the way Perl 6 implements graphemes, using a normal form in which strings with the same graphemes can be easily compared in constant time. More on that on L<this article in 6guts|https://6guts.wordpress.com/2015/04/12/this-week-unicode-normalization-many-rts/> and an explanation of how NFG works in L<this IRC log|https://irclog.perlgeek.de/perl6/2018-04-29#i_16110340>.
728+
Normal Form Grapheme is the way Perl 6 implements graphemes, using a normal form
729+
in which strings with the same graphemes can be easily compared in constant
730+
time. More on that on L<this article in 6guts|https://6guts.wordpress.com/2015/04/12/this-week-unicode-normalization-many-rts/>
731+
and an explanation of how NFG works in L<this IRC log|https://irclog.perlgeek.de/perl6/2018-04-29#i_16110340>.
721732
722733
=head1 Niecza
723734
X<|Niecza>
@@ -873,10 +884,10 @@ Repositories store not only files, but also history of changes and can be used
873884
by the developing or writing team for interaction through issues or comments to
874885
code.
875886
876-
In Perl 6 context, however, a repository is a short name for I<compilation unit
877-
repository> and constitutes a system that locates and loads modules, managing
878-
their installation and precompilation. They are structured as linked lists,
879-
including chain of repositories ending in the default
887+
In Perl 6 context, however, a repository is also a short name for I<compilation
888+
unit repository> and constitutes a system that locates and loads modules,
889+
managing their installation and precompilation. They are structured as linked
890+
lists, including chain of repositories ending in the default
880891
C<Compunit::Repository::Installation>.
881892
882893
X<|RHS>

0 commit comments

Comments
 (0)