[PLA] [PATCH] PLA #00012 typos
Raphael Langerhorst
raphael-langerhorst at gmx.at
Thu May 1 13:51:24 CEST 2008
Hi,
I am all for simplification...
Attached patch fixes typos I have found.
Regards,
Raphael
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
Index: pla00012.txt
===================================================================
--- pla00012.txt (revision 19)
+++ pla00012.txt (working copy)
@@ -30,7 +30,7 @@
// and returns the value pointed to for an l-value. It
// returns NULL for an yet undefined l-value.
- // Classes which never are l-values can simple set this
+ // Classes which are never l-values can simply set this
// function pointer to NULL. The function should only be
// called using a simple macro:
@@ -43,13 +43,13 @@
struct pla_obj *left, struct pla_obj *right);
// This function is called for each operator executed.
- // Operators like assignment operations are implemented
- // only in l-values and create a runtime error for r-values.
+ // Operators like assignment operations are only implemented
+ // in l-values and create a runtime error for r-values.
// Normal operators like additions, etc. only access their
// operand using the PLA_GET_VALUE() macro and so
// automatically resolve l-values to r-values. Assignment
// operations are also using the PLA_GET_VALUE() macro
- // for the value beeing assigned.
+ // for the value being assigned.
}
struct pla_obj
@@ -64,9 +64,9 @@
Sample implementation of a simple namespace
===========================================
-The following is the implementation of a simple namespace, which conatains
+The following is the implementation of a simple namespace, which contains
26 one-letter variables. This sample implementation contains two classes:
-the first class is a singe variable, implementing an assign function, and the
+the first class is a single variable, implementing an assign function, and the
2nd part is the namespace class, implementing lookups of the variables.
@@ -180,11 +180,11 @@
Function calls
==============
-Function calls can be simply implemented as a special operator with the
+Function calls can simply be implemented as a special operator with the
function as left and the argument list as right argument. So no additional
support for function calls is required in the VM core.
-It is also possible for functions to return l-values usind the apporach
+It is also possible for functions to return l-values usind the approach
described in this document.
More information about the PLA
mailing list