You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@
15
15
16
16
##Intro
17
17
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!
19
19
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.
21
21
22
22
23
23
@@ -28,12 +28,12 @@ To install RoyalScript, you can use npm by typing the command:
28
28
```
29
29
$ npm install -g royalscript
30
30
```
31
-
RoyalScript, when run nativelyuses `.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
32
32
33
33
```
34
34
royalscript -j path/to/royalscriptfile
35
35
```
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
37
37
38
38
```
39
39
royalscript -e path/to/royalscriptfile
@@ -657,7 +657,7 @@ undefined
657
657
[0,1,60,3,4,null,null,null,null,null,60]
658
658
```
659
659
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:
0 commit comments