Permalink
Browse files

Fix system dependency

  • Loading branch information...
1 parent c444dde commit 94de50f63b6a4fb5f457f42aa817841dfbfacf7d Tomohiro Matsuyama committed Sep 6, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −2 ruby-parser.asd
  2. +2 −2 src/packages.lisp
  3. +2 −2 src/parser.lisp
View
@@ -5,8 +5,8 @@
:depends-on (#:alexandria
#:iterate
#:anaphora
- #:alt-match
- #:alt-yacc
+ #:optima
+ #:lyacc
#:cl-ppcre
#:closer-mop
#:parse-number)
View
@@ -2,7 +2,7 @@
(:use #:cl
#:anaphora
#:iterate
- #:alt.match)
+ #:optima)
(:shadow #:block #:variable)
(:import-from #:alexandria
#:required-argument
@@ -17,7 +17,7 @@
(:use #:cl
#:anaphora
#:iterate
- #:alt.match
+ #:optima
#:ruby-parser.ast)
(:shadow #:block #:variable)
(:import-from #:alexandria
View
@@ -5,7 +5,7 @@
(iter (while (and (consp (car body))
(keywordp (caar body))))
(collect (pop body)))))
- `(alt.yacc:define-parser ,name
+ `(lyacc:define-parser ,name
,@options
,@(iter (for (name . rhss) in body)
(for new-rhss =
@@ -1240,7 +1240,7 @@
(defun parse-from-stream (stream &key (sexp t))
(let* ((*state* (make-lexer (make-source-from-stream stream)))
- (ast (alt.yacc:parse-with-lexer *state* *parser*)))
+ (ast (lyacc:parse-with-lexer *state* *parser*)))
(if sexp
(ast-to-sexp ast)
ast)))

0 comments on commit 94de50f

Please sign in to comment.