Databehandling Job by anemach

Hi! This project is a bit strange but I think you might find it fun. I'm writing a programming language and I need a bit of help.

I've created the grammar for the language in a Parsing Expression Grammar ([url removed, login to view]). For example, for mathematical expressions such as 3*4/2+1, the PEG would be:

Value ? [0-9]+ / '(' Expr ')'

Product ? Value (('*' / '/') Value)*

Sum ? Product (('+' / '-') Product)*

Expr ? Sum

The task is to arrange the PEG so that it parses correctly. I was able to get a basic version to work but I think I need some further help.

(The actual project is in Javascript (NodeJS) but I don't think you would need any Javascript for this task.)

I'm sure it sounds strange to you, but I hope you might find it interesting too. I would, of course, have more details if you're interested.

Evner: Databehandling

Se mere: writing expressions, writing a programming language, the c++ programming language wiki, programming expression, mathematical value of i, is it programming fun, http custom writing org, find it project, expression in c programming, example for project, c programming language wiki, bit of fun, a bit of fun, find a programming project, nodejs, mathematical m, m@sum, javascript nodejs, i need a custom writing, http nodejs, nodejs http, javascript sum sum, mathematical expression, custom product javascript example, find interesting product

Om arbejdsgiveren:
( 0 bedømmelser ) Antibes, France

Projekt ID: #4091616

1 freelancer byder i gennemsnit €10 på dette job


Hired by the Employer

€10 EUR / time
(1 bedømmelse)