简体   繁体   中英

Is there a good source for finding common problems with ECLiPSe?

As a new ECLiPSe user I am running into problems.

I was able to consult a .pl file, but when I changed the extension to .ecl I got a file-does-not-exist message.

I was even able to run the .pl file, but couldn't access any of the subsidiary predicates. Only the longest one ran. (It was not called main .)

I finally added an export line, which solved the problem.

Loading ['../<current-directory>/file.ecl'] worked, but attempting to load ['file.ecl'] or ['./file.ecl'] produced a no-such-file message.

Is there a repository of newbie questions and answers or a mailing list of users?

Thanks.

There is quite extensive documentation on the ECLiPSe web site , and also mailing lists and the stackoverflow tag .

You should not have any problems with file extensions: .ecl and .pl are both accepted (with .ecl preferred if both are present), see here . There is the usual notion of the current directory , which has to be taken into account when using relative pathnames.

You only need export directives when you use module directives -- for small experiments you can omit both.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM