style-script 1.0.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.
- data/LICENSE +22 -0
- data/bin/style +5 -0
- data/examples/blocks.style +57 -0
- data/examples/code.style +173 -0
- data/examples/hello.style +1 -0
- data/examples/poignant.style +186 -0
- data/examples/potion.style +205 -0
- data/examples/underscore.style +603 -0
- data/lib/style-script.rb +21 -0
- data/lib/style_script/command_line.rb +235 -0
- data/lib/style_script/grammar.y +491 -0
- data/lib/style_script/lexer.js +363 -0
- data/lib/style_script/lexer.rb +272 -0
- data/lib/style_script/nodes.js +756 -0
- data/lib/style_script/nodes.rb +1079 -0
- data/lib/style_script/parse_error.rb +29 -0
- data/lib/style_script/parser.js +544 -0
- data/lib/style_script/parser.rb +2716 -0
- data/lib/style_script/repl.js +33 -0
- data/lib/style_script/rewriter.js +377 -0
- data/lib/style_script/rewriter.rb +289 -0
- data/lib/style_script/runner.js +11 -0
- data/lib/style_script/scope.js +129 -0
- data/lib/style_script/scope.rb +95 -0
- data/lib/style_script/std/style-script.js +96 -0
- data/lib/style_script/style-script.js +50 -0
- data/lib/style_script/value.rb +64 -0
- data/package.json +8 -0
- data/style-script.gemspec +21 -0
- metadata +93 -0
data/package.json
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'style-script'
|
3
|
+
s.version = '1.0.0' # Keep version in sync with style-script.rb
|
4
|
+
s.date = '2014-05-10'
|
5
|
+
|
6
|
+
s.summary = "The StyleScript Compiler"
|
7
|
+
s.description = <<-EOS
|
8
|
+
StyleScript is a programming language that compiles to JS. It's a fork of the old StyleScript.
|
9
|
+
EOS
|
10
|
+
|
11
|
+
s.authors = ['Danilo Lekovic']
|
12
|
+
s.email = 'danilo@lekovic.ca'
|
13
|
+
s.rubyforge_project = 'style-script'
|
14
|
+
s.has_rdoc = false
|
15
|
+
|
16
|
+
s.require_paths = ['lib']
|
17
|
+
s.executables = ['style']
|
18
|
+
|
19
|
+
s.files = Dir['bin/*', 'examples/*', 'extras/**/*', 'lib/**/*',
|
20
|
+
'style-script.gemspec', 'LICENSE', 'README', 'package.json']
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: style-script
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Danilo Lekovic
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2014-05-10 00:00:00 Z
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: " StyleScript is a programming language that compiles to JS. It's a fork of the old StyleScript.\n"
|
22
|
+
email: danilo@lekovic.ca
|
23
|
+
executables:
|
24
|
+
- style
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files: []
|
28
|
+
|
29
|
+
files:
|
30
|
+
- bin/style
|
31
|
+
- examples/underscore.style
|
32
|
+
- examples/potion.style
|
33
|
+
- examples/code.style
|
34
|
+
- examples/poignant.style
|
35
|
+
- examples/blocks.style
|
36
|
+
- examples/hello.style
|
37
|
+
- lib/style_script/rewriter.js
|
38
|
+
- lib/style_script/scope.rb
|
39
|
+
- lib/style_script/parser.js
|
40
|
+
- lib/style_script/grammar.y
|
41
|
+
- lib/style_script/runner.js
|
42
|
+
- lib/style_script/scope.js
|
43
|
+
- lib/style_script/nodes.js
|
44
|
+
- lib/style_script/lexer.rb
|
45
|
+
- lib/style_script/std/style-script.js
|
46
|
+
- lib/style_script/value.rb
|
47
|
+
- lib/style_script/lexer.js
|
48
|
+
- lib/style_script/style-script.js
|
49
|
+
- lib/style_script/parser.rb
|
50
|
+
- lib/style_script/repl.js
|
51
|
+
- lib/style_script/nodes.rb
|
52
|
+
- lib/style_script/parse_error.rb
|
53
|
+
- lib/style_script/command_line.rb
|
54
|
+
- lib/style_script/rewriter.rb
|
55
|
+
- lib/style-script.rb
|
56
|
+
- style-script.gemspec
|
57
|
+
- LICENSE
|
58
|
+
- package.json
|
59
|
+
homepage:
|
60
|
+
licenses: []
|
61
|
+
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options: []
|
64
|
+
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
hash: 3
|
82
|
+
segments:
|
83
|
+
- 0
|
84
|
+
version: "0"
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
rubyforge_project: style-script
|
88
|
+
rubygems_version: 1.8.15
|
89
|
+
signing_key:
|
90
|
+
specification_version: 3
|
91
|
+
summary: The StyleScript Compiler
|
92
|
+
test_files: []
|
93
|
+
|