3 ms·
I like these data description languages but most of them just have support for sequential structures and don't support offsets within the file. These are very c
by aeneasmackenzie 4y ago
I like these data description languages but most of them just have support for sequential structures and don't support offsets within the file. These are very common in file formats created for use with C or a similar language, which is most of them. It's not hard to add but it destroys the elegance of the formalism.
- TheRealPomax 4y agoWhat's the point of a comment like this when Prolog supports file seeking just fine? That's like complaining about the lack of structs in procedural languages when the post you're commenting on is a C++ post...
- aeneasmackenzie 4y agoYou can file seek in any language, but not in most file format DSLs (or this one, because it's local). The author mentions QuickBMS and thus is aware of this, but most academic format languages don't support it.
- TheRealPomax 4y agoExcept we're talking about Prolog, so we're talking about SWI-Prolog, the insanely academic flavour of this programming language. It's basically the flavour of Prolog that won the popularity contest exactly because of its academic sponsorship (by the University of Amsterdam).
- kragen 4y agoyou'll probably be interested in daedalus from galois