Only a few more preparation steps have to be taken and v0.1 is ready.
v0.1 will be a working but first draft version of rag pr to play around with.
The aim is to find possible usability improvements and to test the pr language syntax.
v0.1 will not be production ready but i am sure you can write first simple useful pr scripts.
Be aware that some language features may change in the future so you have to port your scripts to new rag pr versions in the future.
Take a look on the sample scripts in the code folder example_scripts to get a first impression of the language.
By the way: You can make the cmd line tool print the pr script syntax by executing
rag --print-syntax
Get more info by executing:
rag --help
In order to use rag pr, you need to write a pattern replacer script that
1) Defines the syntax of the input file (the "patterns")
2) Defines the actions to be taken depending in the input
The pattern-replacer-language is a simple OOP-Language that allows you to
Yes and no.
Like awk, rag pr
Unlike awk, rag pr
If you like, you can think of rag pr as a modernized version of awk.
Well, in fact first i had the idea to the pattern replacer and while working on it i found that it slightly reminded me of AWK - which is one of my favourite command line tools.