Skip to content

txtyash/firo-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firo Parser

Parser for the ".firo" file format. Firo is a domain specific language for the file-rover cli tool..

Origin file(origin.firo)

Origin file specifies the origin paths of the files that need to be moved, renamed or removed. Example:

/home/evccyr/file.rs
plugin/file
folder/name with space.txt

Destination file(destination.firo)

Destination file is the file that specifies the destination paths for the file paths specified in the "origin.firo" file. Example:

/home/evccyr/file <date> .rs
plugin/calendar <!> 2024.pdf
<!> /tmp/something.txt

Tokens

The fundamental tokens for ".firo" files are path_part(ex: /home/evccyr/file) and pins(<date>).