[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[SOLUTION] Dice Roller (#61

email55555 email55555

1/10/2006 3:24:00 PM

My solution send out 17 hours ago from gmail.
But it seems the mailing list still not receive it.
So, I just re-send it from Ruby Forum.
( If later on, gmail does send out, please ignore it, my appologize )

---------- Forwarded message ----------
From: David Tran <email55555@gmail.com>
Date: Jan 9, 2006 3:57 PM
Subject: [SOLUTION] Dice Roller (#61)
To: ruby-talk@ruby-lang.org


Personally, I like to use parser tools to solve this quiz instead of
'eval'.
First try is with Rockit (http://sourceforge.net/proje...),
unfortunately I cannot get it work with Ruby 1.8.x
So, I try with ANTLR.
The ANTLR 3.0 early access version will suport Ruby language.
You can download and see an example at
http://split-s.blogspot.com/2005/12/antlr-for...

Unfortunately, ANTLR 3.0 syntax is kind of different than what I know
( version 2.6.7)
I am not successful to use direct return value, neither generate AST
Tree.
Anyway, at least, by using ANTLR 3.0, my solution does solve this quiz.

--
http://www.doubl...


File: roll.rb
=============
# Ideally it is better generate an "simplified" AST tree"
# for example expression "3d6+(1+2*5)" will have "3d6+11" AST Tree,
# and each roll operation will just do the tree walking to calculate the
value.
#
# Unfortunately, with ANTLR 3ea7, the syntax change from version 2.7.6
# and I am not able to create an AST Tree for Ruby language.
#
# This forces me to reparse for each roll operation. Really bad :(.

require 'DiceCalculator'
require 'DiceCalculatorLexer'

class Dice
def initialize(input)
@sstream = StringStream.new(input)
end

def roll
lexer =
DiceCalculatorLexer.new(ANTLR::CharStream.new(@sstream.rewind))
parser = DiceCalculator.new(ANTLR::TokenStream.new(lexer))
parser.parse
parser.result
end

# help class, treat String as IO
class StringStream
def initialize(str)
@str = str
@pos = 0
end

def read(n)
return nil if @pos >= @str.size
s = @str[@pos, n]
@pos += n
s
end

def rewind
@pos = 0
self
end
end
end

if $0 == __FILE__
abort("Usage: #$0 expression [count]") if ARGV.size <= 0
d = Dice.new(ARGV[0])
(ARGV[1] || 1).to_i.times { print "#{d.roll} " }
end


File roll.g
===========
/*
DiceCalculator Grammar

Date: 2006-01-09

ANTLR 3.0 Early Access (alpha?) will support Ruby language

However I am not successful to create AST tree by using ANTLR 3ea7
The Syntax changes a lot from version 2.7.6.

Also I am not successful to use direct "returns [value]" syntax to
allow each expression returns a value; so use a @stack variable
to do the calculation.
*/

grammar DiceCalculator;

options {
language = Ruby;
}

@members {
@stack = []

def result
@stack.first
end
}

parse
: expr
;

expr
: mexpr
( PLUS mexpr { @stack.push(@stack.pop + @stack.pop) }
| MINUS mexpr { n = @stack.pop; @stack.push(@stack.pop - n) }
)*
;

mexpr
: term
( MULTI term { @stack.push(@stack.pop * @stack.pop) }
| DIVIDE term { n = @stack.pop; @stack.push(@stack.pop / n) }
)*
;

term
: (unit | { @stack.push(1) })
(DICE (PERCENT { @stack.push(100) } | unit)
{
side = @stack.pop
time = @stack.pop
result = 0
time.times { result += rand(side) + 1 }
@stack.push(result)
}
)*
;

unit
: INTEGER { @stack.push($INTEGER.text.to_i) }
| LPAREN n=expr RPAREN
;

LPAREN : '(' ;
RPAREN : ')' ;
PLUS : '+' ;
MINUS : '-' ;
MULTI : '*' ;
DIVIDE : '/' ;
PERCENT : '%' ;
DICE : 'd' ;
INTEGER : ('1'..'9')('0'..'9')* ;
WS : (' ' | '\t' | '\n' | '\r') { channel = 99; };

================================================================
use java to create parser ruby file by:
java -cp antlr-3.0ea7.jar;stringtemplate-2.3b4.jar;antlr-2.7.5.jar
org.antlr.Tool roll.g
This will generate lexer and parser ruby files, you also need ANTLR
ruby runtime
library (antlr.rb).

In case you like to try it and don't like use java and antlr to
regenerate:
Below are a zip file (encoded base 64) contents
ANTLR runtime library file (antlr.rb) and
DiceCalculator.rb and DiceCalculatorLexer.rb generated files.


File antlr_gen.zip (base 64 encoded)
====================================
UEsDBBQAAAAIADN8KTTpvvtvOAYAAEklAAAWAAAARGljZUNhbGN1bGF0b3JM
ZXhlci5yYuVaW2/aSBR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