package elpi
Module API.ParseSource
program file_list parses a list of files, Raises Failure if the file does not exist.
goal file_list parses the query, Raises Failure if the file does not exist.
resolve f computes the full path of f as the parser would do (also) for files recursively accumulated. Raises Failure if the file does not exist.
Source
val std_resolver :
?cwd:string ->
paths:string list ->
unit ->
?cwd:string ->
unit:string ->
unit ->
stringstd_resolver cwd paths () returns a resolver function that looks in cwd and paths (relative to cwd, or absolute)