We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I need some help with running parseval.lisp.
environment is Ubuntu 18.04 LTS, and sbcl 2.2.8.
Ubuntu 18.04 LTS
sbcl 2.2.8
When I ran the function with the given input, there was a type error. The following is the result of debugging.
The value NP is not of type LIST [Condition of type TYPE-ERROR] Restarts: 0: [RETRY] Retry SLIME REPL evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT] abort thread (#<THREAD "new-repl-thread" RUNNING {1004374873}>) Backtrace: 0: ((LAMBDA (\&OPTIONAL RUTILS.READTABLE:\% RUTILS.READTABLE:\%\%) :IN PARSEVAL:PARSEVAL) NP #<unused argument>) Locals: RUTILS.READTABLE:% = NP 1: ((LABELS #:G23 :IN PARSEVAL:PARSEVAL) (NP (0 1 2 3))) Locals: RUTILS.ABBR:SUB = (NP (0 1 2 3)) 2: ((LABELS #:G23 :IN PARSEVAL:PARSEVAL) ((NP (0 1 2 3)) ((NNS #)) ((CC #)) ((NN #)))) Locals: RUTILS.ABBR:SUB = ((NP (0 1 2 3)) ((NNS (0 1))) ((CC (1 2))) ((NN (2 3)))) 3: (PARSEVAL:PARSEVAL (NP (NNS "foo") (CC "and") (NN "bar")) (NP (NP (NN "foo")) (CC "and") (NN "bar")) :UNLABELLED NIL :SPLIT NIL :LEAFLESS NIL :WEIGHT NIL) 4: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PARSEVAL:PARSEVAL (QUOTE (NP # # #)) (QUOTE (NP # # #))) #<NULL-LEXENV>) 5: (EVAL (PARSEVAL:PARSEVAL (QUOTE (NP # # #)) (QUOTE (NP # # #)))) 6: (SWANK::EVAL-REGION "(parseval:parseval '(NP (NNS \"foo\") (CC \"and\") (NN \"bar\")) ..) 7: ((LAMBDA NIL :IN SWANK-REPL::REPL-EVAL)) 8: (SWANK-REPL::TRACK-PACKAGE #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::REPL-EVAL) {1004864CAB}>) 9: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME REPL evaluation request." #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::REPL-EVAL) {1004864C4B}>) 10: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::REPL-EVAL) {1004864C2B}>) 11: (SWANK-REPL::REPL-EVAL "(parseval:parseval '(NP (NNS \"foo\") (CC \"and\") (NN \"bar\")) ..) 12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK-REPL:LISTENER-EVAL "(parseval:parseval '(NP (NNS \"foo\") (CC \"and\") (NN \"bar\")) ..) 13: (EVAL (SWANK-REPL:LISTENER-EVAL "(parseval:parseval '(NP (NNS \"foo\") (CC \"and\") (NN \"bar\")) ..) 14: (SWANK:EVAL-FOR-EMACS (SWANK-REPL:LISTENER-EVAL "(parseval:parseval '(NP (NNS \"foo\") (CC \"and\") (NN \"bar\")) ..) 15: (SWANK::PROCESS-REQUESTS NIL) 16: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS)) 17: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS)) 18: (SWANK/SBCL::CALL-WITH-BREAK-HOOK #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL :IN SWANK::HANDLE-REQUESTS) {100421FAFB}>) 19: ((FLET SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/home/whanhee/.quicklisp/dists/quicklisp/software/slime-v2.27/swank/sbcl.lisp") #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL :IN SWANK:.. 20: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #<SWANK/GRAY::SLIME-INPUT-STREAM {1002242783}>)) #<CLOSURE (LAMBDA NIL :IN SWANK::HANDLE-REQUESTS) {100421FB1B}>) 21: (SWANK::HANDLE-REQUESTS #<SWANK::MULTITHREADED-CONNECTION {1004A4F883}> NIL) 22: ((FLET SB-UNIX::BODY :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 23: ((FLET "WITHOUT-INTERRUPTS-BODY-4" :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 24: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 25: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-THREAD::CALL-WITH-MUTEX)) 26: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7F969AACECDB}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THR.. 27: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "new-repl-thread" RUNNING {1004374873}> NIL #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::SPAWN-REPL-THREAD) {100437481B}> NIL) 28: ("foreign function: call_into_lisp") 29: ("foreign function: new_thread_trampoline")
There was no error when calling (ql:quickload :gr-parseval)
(ql:quickload :gr-parseval)
I would be very grateful if you give me any advice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello! I need some help with running parseval.lisp.
environment is
Ubuntu 18.04 LTS
, andsbcl 2.2.8
.When I ran the function with the given input, there was a type error. The following is the result of debugging.
There was no error when calling
(ql:quickload :gr-parseval)
I would be very grateful if you give me any advice.
The text was updated successfully, but these errors were encountered: