time-link / timelink-kleio

Provides translation of files in Kleio notation into XML and other formats. Part of Timelink.
1 stars 0 forks source link

Add path to kleio structure to the kleio$ group in source files #15

Open joaquimrcarvalho opened 1 year ago

joaquimrcarvalho commented 1 year ago

Example:

Kleio$"structures/mystry/mysource.str"/prefix=soure/translations=2

A pre-flight read of the first line of the kleio file could fetch the path that would then be passed to the translator

open(F,read,Stream,[]),read_line_to_string(Stream,Line),close(Stream), atomic_list_concat([Kleio|],'/',Line), (atomic_list_concat([K,Stru|],'$',Kleio);Stru=''),!.