tildeath 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ module Tildeath
2
+ class TildeathError < StandardError
3
+ attr_reader :line_number, :column
4
+
5
+ def initialize(line_number, column)
6
+ super()
7
+ @line_number = line_number
8
+ @column = column
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,12 @@
1
+ module Tildeath
2
+ class Token
3
+ attr_reader :name, :value, :line_number, :column
4
+
5
+ def initialize(name, line_number, column, value = nil)
6
+ @name = name
7
+ @value = value #only used by IDENT tokens, to store the actual identifier
8
+ @line_number = line_number
9
+ @column = column
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ module Tildeath
2
+ VERSION = '0.0.1'
3
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tildeath
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Rob Steward
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: An esoteric language interpreter for the imminently deceased.
14
+ email: bobert_1234567890@hotmail.com
15
+ executables:
16
+ - tildeath
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - LICENSE
21
+ - README.md
22
+ - bin/tildeath
23
+ - bin/tildeath~
24
+ - bin/~ath~
25
+ - lib/tildeath.rb
26
+ - lib/tildeath/ast_nodes.rb
27
+ - lib/tildeath/ast_nodes/bang.rb
28
+ - lib/tildeath/ast_nodes/bifurcate.rb
29
+ - lib/tildeath/ast_nodes/dot_die.rb
30
+ - lib/tildeath/ast_nodes/import.rb
31
+ - lib/tildeath/ast_nodes/null.rb
32
+ - lib/tildeath/ast_nodes/program.rb
33
+ - lib/tildeath/ast_nodes/split.rb
34
+ - lib/tildeath/ast_nodes/statements.rb
35
+ - lib/tildeath/ast_nodes/tildeath.rb
36
+ - lib/tildeath/ast_nodes/value.rb
37
+ - lib/tildeath/imminently_deceased_object.rb
38
+ - lib/tildeath/interpreter.rb
39
+ - lib/tildeath/lexer.rb
40
+ - lib/tildeath/parser.rb
41
+ - lib/tildeath/tildeath_error.rb
42
+ - lib/tildeath/token.rb
43
+ - lib/tildeath/version.rb
44
+ homepage: https://github.com/filialpails/tildeath
45
+ licenses:
46
+ - GPL-3.0
47
+ metadata: {}
48
+ post_install_message:
49
+ rdoc_options: []
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubyforge_project:
64
+ rubygems_version: 2.2.1
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: An esoteric language interpreter for the imminently deceased.
68
+ test_files: []
69
+ has_rdoc: