logtalk3 icon indicating copy to clipboard operation
logtalk3 copied to clipboard

B-Prolog 8.1 inconsistent atom size limits

Open pmoura opened this issue 11 years ago • 0 comments

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.

pmoura avatar Nov 10 '14 12:11 pmoura