nilac 0.0.4.1.9 → 0.0.4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nilac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1.9
4
+ version: 0.0.4.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -93,7 +93,6 @@ files:
93
93
  - shark/test_files/correct_string_operators.js
94
94
  - shark/test_files/correct_unless_until.js
95
95
  - shark/test_files/correct_whitespace_delimiter.js
96
- - shark/test_files/default_parameters.js
97
96
  - shark/test_files/default_parameters.nila
98
97
  - shark/test_files/erratic.nila
99
98
  - shark/test_files/heredoc.nila
@@ -107,7 +106,6 @@ files:
107
106
  - shark/test_files/regular_while.nila
108
107
  - shark/test_files/simple.nila
109
108
  - shark/test_files/single_return.nila
110
- - shark/test_files/string_interpolation.js
111
109
  - shark/test_files/string_interpolation.nila
112
110
  - shark/test_files/string_operators.nila
113
111
  - shark/test_files/unless_until.nila
@@ -1,21 +0,0 @@
1
- //Written using Nila. Visit http://adhithyan15.github.io/nila
2
- (function() {
3
- // This is a demo of default parameters
4
-
5
- function fill(container,liquid) {
6
- if (container === null) {
7
- container = "cup";
8
- }
9
- if (liquid === null) {
10
- liquid = "coffee";
11
- }
12
- return console.log("Filling " + container + " with " + liquid);
13
- }
14
-
15
- fill();
16
-
17
- fill("cup");
18
-
19
- fill("bowl","soup");
20
-
21
- }).call(this);
@@ -1,17 +0,0 @@
1
- //Written using Nila. Visit http://adhithyan15.github.io/nila
2
- (function() {
3
- var msg;
4
-
5
- //This file tests the limits of the string interpolation feature present in Nila
6
-
7
- msg = "Hello " + "world. A lovely place." + "" + "Another " + "Lovely quote";
8
-
9
- console.log(msg);
10
-
11
- console.log("Hello " + "world");
12
-
13
- console.log('Hello #{world}');
14
-
15
- console.log('Hello');
16
-
17
- }).call(this);