Skip to content
New issue

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

B-Prolog 8.1 inconsistent atom size limits #15

Open
pmoura opened this issue Nov 10, 2014 · 0 comments
Open

B-Prolog 8.1 inconsistent atom size limits #15

pmoura opened this issue Nov 10, 2014 · 0 comments

Comments

@pmoura
Copy link
Member

pmoura commented Nov 10, 2014

B-Prolog 8.1 atom size limit for interpreted code and for atoms created at runtime (e.g. using read_term/3) is 1000 but for compiled code is 255. A consequence is that the Logtalk compiler will successfully compile a source file with an atom with a size between those two limits (e.g. in a documentation directive) but loading of the generated intermediate Prolog file will fail. Worse, the loading failure produces no warning and is easy to miss when compiling several files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant