Remote Web Development Job In IT And Programming

Script to lexically transform expression in C# source

Find more Web Development remote jobs posted recently Worldwide

You need to create a script (in any language, Im a dev myself) that would:
1. Lexically parse .cs file. (C# code) - use some existing tool
2. Match every expression:
2.1 FUNCTIONNAME(arg1, arg2)
2.2 FUNCTIONNAME(arg1, arg2, arg3)
2.3 ARRAY2d[arg1, arg2)
3. Get args as strings (if needed for #4)
4. Fully replace the matched expression with the result of user-defined function.
5. Output the new file to stdout

Pseudo-code:

// I will define this function myself
transformContent(arg1, arg2):
return arg1 + * + arg2;

parsedFile = parseFile(filename)
for every expression in parsedFile:
if expression is a Function with 2 args:
newExpression = transformContent(expression.arg1, expression.arg2)
expression.remove()
newExpression.insert()


You can use any major programming language - Windows or Linux. I just need a script, no need to check user input etc.
About the recuiter
Member since Sep 16, 2017
Tom Ward
from England, United Kingdom

Skills & Expertise Required

software development Website Development 

Candidate shortlisted and hiredHiring open till - Dec 22, 2020

Work from Anywhere

40 hrs / week

Fixed Type

Remote Job

$48.63

Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

Shopify Developer / Assistant

We are in the final stages of site development and our lead developer is out on vacation. We need someone who is available to make last minute changes today, tomorrow, and Monday for a Monday, 1: PM US CST website launch. Theres only a handful of pr...read more

Matlab Simulation

Research paper implementation in the field of Wireless Sensor network in Matlab

Python Expert - Image manipulation

Looking for someone who has experience in Python, that can help with image manipulation through pre-written scripts. This is on-going work, need someone reliable that is an expert in python.

One click post purchase upsell needs added to my e-commerce store

I have an e-commerce store that sells personalized pet canvases. I would like to add a one click post purchase offer to the customer that asks them if they want to purchase the digital file for extra amount of money. If they accept the offer, they wi...read more