Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typos.

  • Loading branch information...
commit 3c1710decdc1666a97eafcedf4d03b684205108a 1 parent 8581095
@Util Util authored
View
6 ChangeLog
@@ -1446,7 +1446,7 @@
* string.c: When you clone a constant, it ain't constant no mo'.
- Cocurtesy of "Bryan C. Warnock" <Bryan.Warnock@raba.com>
+ Courtesy of "Bryan C. Warnock" <Bryan.Warnock@raba.com>
2002-02-28 00:51 dan
@@ -2352,7 +2352,7 @@
2002-01-30 19:08 dan
- * lib/Parrot/Assembler.pm: fixes the POD in Parrot::Assember so
+ * lib/Parrot/Assembler.pm: fixes the POD in Parrot::Assembler so
that perldoc
can read it and just tidies it up generally. It also adds
documentation
@@ -3165,7 +3165,7 @@
2002-01-13 19:39 dan
- * key.c, classes/perlarray.pmc: key.c: intialize KEY.keys
+ * key.c, classes/perlarray.pmc: key.c: initialize KEY.keys
classes/perlarray.c: * get_string: is casting
SELF->cache.struct_val to a STRING*, while all other methods are
View
2  config/gen/makefiles/root.in
@@ -2614,7 +2614,7 @@ src/extra_nci_thunks.c : src/nci/extra_thunks.nci $(NCI_THUNK_GEN)
$(NCI_THUNK_GEN) --dynext --no-warn-dups \
--output=src/extra_nci_thunks.c <src/nci/extra_thunks.nci
#
-# remove the following two lines commited in r48180 which cause this to be re-generated
+# remove the following two lines committed in r48180 which cause this to be re-generated
# every time the all target is invoked - see TT #1719
#
# $(NCI_THUNK_GEN) --core --loader-name=Parrot_nci_load_extra_thunks --no-warn-dups \
View
4 docs/book/pct/ch03_compiler_tools.pod
@@ -6,7 +6,7 @@ Z<CHP-4>
Parrot is able to natively compile and execute code in two low-level
languages, PASM and PIR. These two languages, which are very similar to
-one another, are very close to the machine and analagous to assembly
+one another, are very close to the machine and analogous to assembly
languages from hardware processors and other virtual machines. While they
do expose the power of the PVM in a very direct way, PASM and PIR are not
designed to be used for writing large or maintainable programs. For these
@@ -183,7 +183,7 @@ Syntax Tree, or PAST.>
=back
PCT's workflow is customizable, but simple. The compiler passes the source
-code of the HLL into the grammar engine. The grammer engine parses this code
+code of the HLL into the grammar engine. The grammar engine parses this code
and returns a X<PGE;Match Object> special Match object which represents a
parsed version of the code. The compiler then passes this match object to the
action methods, which convert it in stages into PAST. The compiler finally
View
10 editor/pasm.el
@@ -17,13 +17,13 @@
;;;;
;;;; 2) simple indentation (but it kills tabs, which i think is a good
;;;; thing so i'm not going to fix it (yes, it'm just justifying my
-;;;; lazyness (i just realized that this is going to create a *lot* of
+;;;; laziness (i just realized that this is going to create a *lot* of
;;;; whitespace diffs ... hmmm ...)))
;;;;
;;;; 3) a simple function for following branches. see the doc string
;;;; for pasm-follow-branch. By default this is bound to "C-c C-j".
;;;;
-;;;; 4) a function for passing the curent buffer to assembler.pl and
+;;;; 4) a function for passing the current buffer to assembler.pl and
;;;; passing the output of that to the parrot interpreter and putting
;;;; the output in another window. see the doc string for
;;;; pasm-assemble-and-run-buffer (dont't forget to set PERL5LIB). By
@@ -146,7 +146,7 @@ the beginning of a line (which doesn't have a label) we want to be
moved forward to column 8"
(interactive)
(pasm-indent-line-function)
- ;; how do we check if we're at the beginnign of a line? there must
+ ;; how do we check if we're at the beginning of a line? there must
;; be a function for this
(unless (or (looking-at "[A-Za-z_][A-Za-z_0-9]*:")
(/= (beginning-of-line-point) (point)))
@@ -186,7 +186,7 @@ current op is branching or not we rely on the value of
(let ((jump-to-point nil))
;; jump-to-point and the save-excursion are so that if we're not
;; on a branching op line or if the op to jump to isn't defined we
- ;; don't move the point around unneccessarily (this would be very
+ ;; don't move the point around unnecessarily (this would be very
;; confusing, trust me)
(save-excursion
(beginning-of-line)
@@ -202,7 +202,7 @@ current op is branching or not we rely on the value of
(search-backward-regexp "[^a-zA-Z_0-9]")
(forward-char)
(let ((label (buffer-substring (point) (1- (search-forward-regexp "[^a-zA-Z_0-9]")))))
- ;; label is the name (minus the traling ':') of the label
+ ;; label is the name (minus the trailing ':') of the label
;; to jump to
(beginning-of-buffer)
(setq jump-to-point (search-forward (concat label ":")))))))
View
2  include/parrot/packfile.h
@@ -89,7 +89,7 @@
/*
** Enumerated constants
** Changes here require update PBC_COMPAT
-** The prefered way to eliminate a value is just to stop using it without
+** The preferred way to eliminate a value is just to stop using it without
** renumbering others, that helps to keep backward compatibility.
*/
View
4 parrotbug
@@ -47,7 +47,7 @@ in parrot, and e-mail it to the parrot developers.
It is *NOT* intended for:
- sending test messages,
- - or reporting bugs in languages targetting parrot,
+ - or reporting bugs in languages targeting parrot,
- or reporting bugs in some library bindings for parrot,
- or simply verifying that parrot works.
@@ -197,7 +197,7 @@ sub init {
$report{severity} = $opts{severity} || "";
};
- # Test message, shortcuting recipent.
+ # Test message, shortcutting recipient.
$report{to} = $opts{to} if $opts{to};
##
View
4 src/dynpmc/rational.pmc
@@ -88,7 +88,7 @@ static void rat_add_integer(PARROT_INTERP, PMC *self, int value) {
=item C<static void rat_add_float(PARROT_INTERP, PMC *self, double value)>
-Adds a float "value" to a Rational-PMC in-place. "value" is first conveted to a
+Adds a float "value" to a Rational-PMC in-place. "value" is first converted to a
rational using GMPs mpq_set_d-function. This is meant to be exact.
=cut
@@ -111,7 +111,7 @@ static void rat_add_float(PARROT_INTERP, PMC *self, double value) {
=item C<static void rat_multiply_integer(PARROT_INTERP, PMC *self, int value)>
-Multiplys a Rational-PMC with an integer "value" in-place.
+Multiplies a Rational-PMC with an integer "value" in-place.
=cut
View
4 src/packfile.c
@@ -1350,7 +1350,7 @@ PackFile_new(PARROT_INTERP, INTVAL is_mapped)
pf->cur_cs = NULL;
pf_register_standard_funcs(interp, pf);
- /* create the master directory, all subirs go there */
+ /* create the master directory, all sub-dirs go there */
pf->directory.base.pf = pf;
pf->dirp = (PackFile_Directory *)
PackFile_Segment_new_seg(interp, &pf->directory,
@@ -3907,7 +3907,7 @@ PackFile_Annotations_add_group(PARROT_INTERP, ARGMOD(PackFile_Annotations *self)
Adds a new bytecode annotation entry. Takes the annotations segment to add the
entry to, the current bytecode offset (assumed to be the greatest one so far in
-the currently active group), the annotation key (as an index into the constats
+the currently active group), the annotation key (as an index into the constants
table), the annotation value type (one of PF_ANNOTATION_KEY_TYPE_INT,
PF_ANNOTATION_KEY_TYPE_STR or PF_ANNOTATION_KEY_TYPE_NUM) and the value. The
value will be an integer literal in the case of type being
View
4 src/runcore/cores.c
@@ -26,7 +26,7 @@ requires an understanding of the Parrot runcores.
Parrot has multiple runcores. Some are useful for particular maintenance
tasks, some are only available as optimizations in certain compilers,
-some are intended for general use, and some are just interesing flights
+some are intended for general use, and some are just interesting flights
of fancy with no practical benefits. Here we list the various runcores,
their uses, and their benefits.
@@ -179,7 +179,7 @@ next opcode, which means faster throughput. Remember that whatever dispatch
mechanism is used will be called after every single opcode, and some large
programs may have millions of opcodes! Every single machine instruction
that can be cut out of the dispatch mechanism could increase the execution
-speed of Parrot in a significant and noticable way. B<The dispatch mechanism
+speed of Parrot in a significant and noticeable way. B<The dispatch mechanism
used by the various runcores is hardly the largest performance bottleneck in
Parrot anyway, but we like to use faster cores to shave every little bit of
speed out of the system>.
View
4 src/scheduler.c
@@ -8,7 +8,7 @@ src/scheduler.c - The core routines for the concurrency scheduler
=head1 DESCRIPTION
Each interpreter has a concurrency scheduler element in its core struct. The
-scheduler is responsible for receiveing, dispatching, and monitoring events,
+scheduler is responsible for receiving, dispatching, and monitoring events,
exceptions, async I/O, and concurrent tasks (threads).
=cut
@@ -64,7 +64,7 @@ Functions to interface with the concurrency scheduler.
=item C<void Parrot_cx_init_scheduler(PARROT_INTERP)>
-Initalize the concurrency scheduler for the interpreter.
+Initialize the concurrency scheduler for the interpreter.
=cut
View
4 src/string/api.c
@@ -1944,7 +1944,7 @@ Parrot_str_to_num(PARROT_INTERP, ARGIN(const STRING *s))
else if (c == '.') {
state = parse_after_dot;
/*
- * Throw gathered result. Recalulate from integer mantissa
+ * Throw gathered result. Recalculate from integer mantissa
* to preserve precision.
*/
if (m_is_safe)
@@ -2495,7 +2495,7 @@ const STR_VTABLE *encoding, UINTVAL flags)>
EXPERIMENTAL, see TT #1628
-Unescapes the src string returnning a new string with the encoding specified.
+Unescapes the src string returning a new string with the encoding specified.
=cut
View
6 src/utils.c
@@ -674,12 +674,12 @@ climb back the graph of register moves operations.
The node must have a predecessor: it is implicit because if a node has
a node_index, it must have a predecessor because the node_index are the
index of registers in dest_regs[] array, so by definition they have
-a corrsponding src_regs register.
+a corresponding src_regs register.
Then it emits the move operation with its predecessor, or its backup
if already used/visited.
-Then continues the climbing if the predecessor was not modified, anf in that
+Then continues the climbing if the predecessor was not modified, and in that
case marks it, and set node_index as its backup.
node_index ... the index of a destination (i.e. with a pred.) register
@@ -768,7 +768,7 @@ Move C<n_regs> from the given register list C<src_regs> to C<dest_regs>.
temp_reg ... a register number not in one of these lists
mov ... a register move function to be called to move one register
mov_alt ... a register move function to be called to move one register
- which triese fetching from an alternate src (or NULLfunc):
+ which tries fetching from an alternate src (or NULLfunc):
(void) (mov)(interp, dest, src, info);
moved = (mov_alt)(interp, dest, src, info);
View
2  t/oo/objects.t
@@ -1054,7 +1054,7 @@ l1:
a = a * b
set $S0, a
- is( $S0, '1', 'multip and reasign to subclassed Integer is 1' )
+ is( $S0, '1', 'multiply and reassign to subclassed Integer is 1' )
.end
.sub equality_of_subclassed_Integer
View
2  t/pmc/hash.t
@@ -1359,7 +1359,7 @@ postit_end:
# PMC is first value type
hash.'set_value_type'(.DATATYPE_PMC)
- $P0 = new 'Env' # arbitary choice. Just to prevent possible casting.
+ $P0 = new 'Env' # arbitrary choice. Just to prevent possible casting.
hash['env'] = $P0
hash['foo'] = 42
hash['bar'] = 21285.06
Please sign in to comment.
Something went wrong with that request. Please try again.