~db-keen/rush/asterales-prep

« back to all changes in this revision

Viewing changes to lib/rubyunix/parsers/bash/ghostwheel.rb

  • Committer: Daniel Brumbaugh Keeney
  • Date: 2008-03-10 02:53:16 UTC
  • Revision ID: devi.webmaster@gmail.com-20080310025316-3220q6hdsfybeyvk
added ruby-lex hack for the time being
added irb parser ( which uses the ruby-lex hack )
In Rakefile, moved sync_dirs out of the rake task into a top-level method
updated test folder to reflect vocab change syntax => parser
added name instance attribute to Rubyunix::Session
added parsers to rubyunix.rb, so they can be changed only in defaults.rb (soon to be replaced with asterales)
added send_directive for parser-independent commands
updated history.rb to new style guidelines
added syntax class attribute to parsers
updated session.rb
updated numerous ui files for style guidelines
fixed bug for Wxw.ttyout.puts( nonstring )

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# along with Rubyunix.  If not, see <http://www.gnu.org/licenses/>.
20
20
 
21
21
require 'ghost_wheel'
 
22
require 'cattr'
22
23
 
23
24
module Rubyunix
24
25
module Parsers
25
26
module Bash
26
27
module GhostWheel
27
28
 
 
29
  @@syntax = 'Bash Shell'
 
30
 
 
31
  cattr_reader :syntax
 
32
 
28
33
  @parser = ::GhostWheel.build_parser(
29
34
    File.read('rubyunix/parsers/bash/ghostwheel/grammar.ghostwheel'))
30
35