Skip to content

Commit

Permalink
Fixing conflict with ._ files
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbeattie committed Jul 27, 2018
2 parents 61888b8 + 1ee2adc commit 855d7d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Binary file removed ._README.md
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -328,3 +328,5 @@ ASALocalRun/

# MFractors (Xamarin productivity tool) working folder
.mfractor/

._README.md
15 changes: 9 additions & 6 deletions README.md
Expand Up @@ -61,7 +61,7 @@ Rockstar uses a very similar type system to that defined by the [ECMAScript type

String literals in Rockstar use double quotes.

* `"Hello World"`
* `"Hello San Francisco"`

Numeric literals in Rockstar are written as decimal numbers

Expand All @@ -71,7 +71,7 @@ Numeric literals in Rockstar are written as decimal numbers
Assignment is denoted by the `put/into` keyword combination:

* `Put 123 into X` will assign the value `123` to the variable `X`
* `Put "Hello World" into the message` will assign the value `"Hello World"` to the variable `the message`
* `Put "Hello San Francisco" into the message` will assign the value `"Hello San Francisco"` to the variable `the message`

#### Single Quotes

Expand Down Expand Up @@ -114,7 +114,7 @@ Examples:

* `If the tears of a child is nothing` - check whether `the tears` * `a child` = 0

* `My love by your eyes` - Returns `my love` divided by `your eyes`
* `My heart over the moon` - Returns `my heart` divided by `the moon`

#### Poetic Literals

Expand All @@ -131,8 +131,8 @@ For the keywords `true`, `false`, `nothing`, `nobody` and `nowhere`, a poetic as

A poetic string literal assignment starts with a variable name, followed by one of the keywords `says` followed by a single space. The rest of the line up to the `\n` terminator is treated as an unquoted string literal.

* `Billy says hello world!\n` will initialise the variable `Billy` with the string literal `"hello world!"`
* `The world says hello back\n` will initialise the variable `the world` with the string literal `hello back`
* `Peter says Hello San Francisco!\n` will initialise the variable `Peter` with the string literal `"Hello San Francisco!"`
* `San Francisco says Hello back\n` will initialise the variable `San Francisco` with the string literal `Hello back`

#### Poetic Number Literals

Expand Down Expand Up @@ -169,7 +169,7 @@ Use the `Listen` keyword to read one line of input from `STDIN`. Use `Listen to`

* `Listen to your heart` - read one line of input from `STDIN` and store it in `your heart`

Use the `Say` keyword to write the value of a variable to `SDTOUT`.
Use the `Say` keyword to write the value of a variable to `STDOUT`.

* `Say Tommy` - will output the value stored in `Tommy` to `STDOUT`

Expand Down Expand Up @@ -299,3 +299,6 @@ Whisper my world
* [rockstar-java](https://github.com/nbrevu/rockstar-java) - Rockstar interpreter in Java
* [rockstar-py](https://github.com/yanorestes/rockstar-py) - Rockstar-to-Python transpiler
* [sublime-rockstar-syntax](https://github.com/paxromana96/sublime-rockstar-syntax) - Syntax highlighter for Sublime Text 3
* [maiden](https://github.com/palfrey/maiden) - Rockstar interpreter in Rust
* [rockstar-webpiler](https://github.com/cwfitzgerald/rockstar-webpiler) - Online Rockstar Parser and Transpiler. [rockstar.connorwfitzgerald.com](https://rockstar.connorwfitzgerald.com)

0 comments on commit 855d7d0

Please sign in to comment.