Skip to content

Commit bedb2d4

Browse files
authored
Merge pull request #2 from Punknoodles/patch-2
grammar, uniformity (capitalization on JavaScript and Warning)
2 parents 0cf2a70 + d9b160a commit bedb2d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
##Intro
1717

18-
RoyalScript is a functional programming language that aims to combine the utility of popular functional programming languages with the mutable data structures found in object oriented languages. The language is also quickly compiled to compressed JavaScript, so it can be run in the browser, without having to download anything on your computer. Lastly, RoyalScript is also inter-operable with javascript functions. You can call native javascript functions from RoyalScript as well!
18+
RoyalScript is a functional programming language that aims to combine the utility of popular functional programming languages with the mutable data structures found in object oriented languages. The language is also quickly compiled to compressed JavaScript, so it can be run in the browser, without having to download anything on your computer. Lastly, RoyalScript is also inter-operable with JavaScript functions. You can call native JavaScript functions from RoyalScript as well!
1919

20-
RoyalScript is a both a compiled or interpreted language, this depends on the javascript environment that RoyalScript is run in.
20+
RoyalScript is a both a compiled or interpreted language, this depends on the JavaScript environment that RoyalScript is run in.
2121

2222

2323

@@ -28,12 +28,12 @@ To install RoyalScript, you can use npm by typing the command:
2828
```
2929
$ npm install -g royalscript
3030
```
31-
RoyalScript, when run natively uses `.royal` files. To compile a RoyalScrpt file to javascript, use
31+
When run natively, RoyalScript uses `.royal` files. To compile a RoyalScrpt file to JavaScript, use
3232

3333
```
3434
royalscript -j path/to/royalscriptfile
3535
```
36-
This will output the transcompiled, compressed javascript in your terminal. To compile and run a royalscript file, you can use
36+
This will output the transcompiled, compressed JavaScript in your terminal. To compile and run a royalscript file, you can use
3737

3838
```
3939
royalscript -e path/to/royalscriptfile
@@ -657,7 +657,7 @@ undefined
657657
[0,1,60,3,4,null,null,null,null,null,60]
658658
```
659659

660-
**warning**: To prevent unintended behavior, *set()*, and a few other functions in RoyalScript are considered non-nestable. This means since they aren't meant to evaluate to something, you cannot use them as arguments to other functions, such as:
660+
**Warning**: To prevent unintended behavior, *set()*, and a few other functions in RoyalScript are considered non-nestable. This means since they aren't meant to evaluate to something, you cannot use them as arguments to other functions, such as:
661661

662662
```
663663
>> str(set(e, 10, 60))

0 commit comments

Comments
 (0)