Skip to content

Commit 9beee4d

Browse files
committed
typo fix part 1/69
1 parent b08772f commit 9beee4d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/language/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## Abstract
1111
**Red Sea Markup Language** (RSML) is a simple declarative markup language created for the purpose of following logic paths based on the host's operating system and CPU architecture.
1212

13-
It is a better altenative to scripting languages because of its simplicity, ease of use, and the fact it's not necessary to package a whole interpreter.
13+
It is a better alternative to scripting languages because of its simplicity, ease of use, and the fact it's not necessary to package a whole interpreter.
1414

1515
## Evaluation
1616
The __"evaluation"__ is the act of going through every line of RSML and evaluating the ones that match the **logic path** syntax, while running the ones that match the **special action** syntax.
@@ -250,8 +250,8 @@ The parameters in the syntax, although complex at first glance, are quite simple
250250
# it's because there's no overload with only system name and system major version
251251
# hence we having to use the cpu-architecture argument as well
252252

253-
# the only alternative in this acse was going with the full overload
254-
# some might say full with "any" is clearer cuz the docujment becomes structured
253+
# the only alternative in this case was going with the full overload
254+
# some might say full with "any" is clearer cuz the document becomes structured
255255
# with a column-like look and it's easier to read and interpret what each argument is
256256
# however, some will say simplicity is key
257257
# here it goes, anyhoo:
@@ -272,7 +272,7 @@ The parameters in the syntax, although complex at first glance, are quite simple
272272
=== "Throwing an error"
273273
```rsea
274274
!> any any any "This error is thrown on any OS and architecture"
275-
# this can be done at the end of the file if you want to ensure the machien can't just let it pass as "null" (this way, it forces evaluation to always end with an error if no other logic path matched)
275+
# this can be done at the end of the file if you want to ensure the machine can't just let it pass as "null" (this way, it forces evaluation to always end with an error if no other logic path matched)
276276
# if you do it at the start of the file, well... good luck reaching any other logic path :D
277277
# isn't that right, Jerry?
278278
```
@@ -337,7 +337,7 @@ These are built into the language and cannot be changed whatsoever _(unless you
337337
| ThrowError | Mandatory | Throws an error with the given message. | <!-- md:version 2.0.0-prerelease8 --> |
338338

339339
???+ tip "ThrowError vs `!>` operator"
340-
<!-- md:version 2.0.0-prerelease8 --> Note how the `ThrowError` special action is practically the same as `!> any any any "<message>"` logic path. The difference is internal only and quite neggligible for most use cases. Some will argue the first is clearer, while others will argue the second is clearer. Choose whichever you prefer!
340+
<!-- md:version 2.0.0-prerelease8 --> Note how the `ThrowError` special action is practically the same as `!> any any any "<message>"` logic path. The difference is internal only and quite negligible for most use cases. Some will argue the first is clearer, while others will argue the second is clearer. Choose whichever you prefer!
341341

342342
## Evaluation Process Flow
343343
!!! info "Strictly markup"
@@ -388,7 +388,7 @@ flowchart LR
388388
```
389389

390390
## Comments
391-
We chose to talk about comments after the evalaution process, because, oh well, big surprise!, comments are ignored by the parser!
391+
We chose to talk about comments after the evaluation process, because, oh well, big surprise!, comments are ignored by the parser!
392392

393393
<!-- md:version 1.0.0 --> **Comments are quite simple in RSML.** If a `#!python #` character is at the start of a line, that line is considered a comment and will be fully ignored by the parser.
394394

0 commit comments

Comments
 (0)