Hi, I wrote a short program in order to show you my problem. #include <eclipseclass.h> int main() { ec_init(); post_goal("compile_term(a(X):- X = [A,A,B])"); EC_resume(); EC_ref X; EC_functor a("a",1); post_goal(term(a,X)); EC_resume(); { .... parsing X .... } ec_cleanup(); return 0; } After the goal a(X) was processed the reference X points to a list of 3 variables. How can i retrieve identifiers like _887 or _A from unreferenced variables? I don't want to use 'ec_exec_string' and 'ec_var_lookup'. Any solution in C or C++ would be very helpful. Thanks!Received on Mon Nov 20 2006 - 19:24:45 CET
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST