Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Fix typos. Thanks @osaris!
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Apr 2, 2015
1 parent 65d7cee commit 1e39319
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/En/Index.xyl
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

<h2 id="Introduction" for="main-toc">Introduction</h2>

<p>The business logic is very different of the Computer logic. “<q>All the
<p>The business logic is very different from the Computer logic. “<q>All the
customers that have reached 100€ in one time receive a voucher of 10% on the
next purchase</q>”. This rule allows to access to certain parts of the program
if <strong>valids</strong>. However, it can <strong>change</strong> at any
moment. Most of time, in a team, it is not the role of the developer to
moment. Most of the time, in a team, it is not the role of the developer to
implement this rule. It will probably come from a <strong>business rules
repository</strong>, which have been written by other persons, either
<strong>manually</strong> or thanks to a <strong>third program</strong>.
<strong>manually</strong> or thanks to a <strong>third-party program</strong>.
This implies that the language used to express a rule is not the languge used
to develop the program. An even more obvious example is the use of a rule to
filter elements: An element is accepted if “<q>its group is <em>customer</em>
Expand Down Expand Up @@ -192,7 +192,7 @@ var_dump(
</table>

<p>Of course, these examples represent atomic parts of the grammar that we can
combined. Thus:
combine. Thus:
<code><em>userA</em>.allows(<em>groups</em>[<em>groupId</em>][<em>userB</em>])</code>
is valid. Just like <code>f(<em>user</em>, <em>points</em> > 7 and
<em>points</em> &amp;lt; 42)</code> which is also valid.</p>
Expand Down Expand Up @@ -518,7 +518,7 @@ var_dump(
> > > token(identifier, points)
> > > token(identifier, >)
> > > token(integer, 30)</code></pre>
<p>In order this tree to be exploitable easier, it will be transformed into an
<p>In order to be exploitable, this tree will be transformed into an
<strong>object model</strong>. This transformation is ensured by the
<code>Hoa\Ruler\Visitor\Interpreter</code> visitor. Thus, if we should apply
it manually:</p>
Expand Down

0 comments on commit 1e39319

Please sign in to comment.