![]() ![]() Re-run your program in debug mode (:- debug.) to get more detail. Note: some frames are missing due to last-call optimization. httpd_wrapper:handler_with_output_to(http_dispatch:time_limit_action(.),2175,-,current_output,error(goal_failed(.),context(_2826,_2828))) at /home/jan/lib/swipl/library/http/http_:308 Accessing SWI-Prolog libraries from Logtalk Ask Question Asked 10 years, 2 months ago Modified 10 years, 2 months ago Viewed 205 times 2 I'm having a lot of fun using Logtalk, but ran into an issue using phrasefromfile. catch(httpd_wrapper:call_handler(.,2175,-),error(goal_failed(.),context(_2752,_2754)),httpd_wrapper:true) at /home/jan/lib/swipl/boot/:563 This actions sets up a SWI-Prolog environment for use in workflows. httpd_wrapper:call_handler('',2175,-) at /home/jan/lib/swipl/library/http/http_:323 setup_call_cleanup(time:alarm(20.),time:run_alarm_goal(.),time:remove_alarm_notrace(.)) at /home/jan/lib/swipl/boot/:680 Operationally, DCGs can be used to parse, generate, completeand checksequences manifested as lists. time:run_alarm_goal('','') at /home/jan/lib/swipl/library/:163 Co-LP has applications to rational trees, verifying infinitary properties, lazy evaluation, concurrent logic programming, model checking, bisimilarity proofs, etc. Introduction A Prolog definite clause grammar(DCG) describes a sequence. http_dispatch:call_action(pack:pack_file_details,) at /home/jan/lib/swipl/library/http/http_:1044 The error you posted would be expected if you try to compile and load the Logtalk 3 library using the Logtalk 2.x compiler, which would not recognize the new alias/2 directive. 500 Internal server error Internal server error SWI-Prolog 9.0.4-1 / 9.1.11-1 Development Logtalk 3.66.0 Portable SWI-Prolog 9.0.4 CProlog 3.2.0 GNU Prolog Console 1.4.4 Prolog+CG Portable 2.0.16 Beta. 1 Answer Sorted by: 0 The alias/2 directive was introduced in Logtalk 3, deprecating the less readable alias/3 directive used in Logtalk 2.x. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |