Use Regex to Convert Syntax

Job ID: 31527207

Budget: $30 – $250 USD

I need someone who is experienced with regex and is capable of producing software which can convert the syntax of one language to another. This syntax is fairly basic and the conversions are not very difficult.

For example, here is one function that I converted using regex:

Line of Code: DefineGlobalColor("Unconfirmed", Color.YELLOW);
Regex: ^(DefineGlobalColor\(\")(.*)\"\, (color[\.][a-zA-Z]+)\)\;
Replacement: $2 = $3

This regex will:
Remove the "DefineGlobalColor()" part of the string
Capture the the first parameter which is "Unconfirmed"
Capture the second parameter of the function which is "Color.YELLOW"
Remove the ";"

The replacement line would look like this:

Unconfirmed = Color.Yellow

This is just one example of many functions I need replaced.


I am looking for someone to create the following:

1. --- A.) Simple GUI in VB.Net, Python, Autoit, C#
-OR- B.) Visual Studio Code Plugin

* Example: https://www.figma.com/file/RvQXdVWOZmilStQcv4SHjd/Untitled?node-id=0%3A1

2. --- A script which allows you to:
------------ A.) Choose a file to convert
------------ B.) Replaces strings in file data sequentially according to regex rules
------------ C.) Saves file with a new filename

3. All the required regex rules needed to convert PineScript to ThinkScript (Very similar syntax)

Please provide your cost estimate for a project like this. I can provide some of the regex needed to convert the languages.