You can write a simple parser for your file format using DCGs. For a nice tutorial, see:
pmoura
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Parser for a simple DSL | 11 | 255 | January 2, 2024 | |
| What's the idiomatic way of developing DCGs? | 8 | 720 | December 17, 2020 | |
| Using DCGs for reading and writing in shell "pipes" | 6 | 980 | December 28, 2019 | |
| [Feasibility] Custom file format containing records and query it with prolog | 10 | 467 | April 9, 2020 | |
| Phrases from string work, but from file failes | 13 | 941 | December 30, 2019 |