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.

Færdigheder: Databehandling

Se mere: writing expressions, writing programming language, programming expression, mathematical value, programming fun, expression programming, example project, programming language wiki, bit fun, find programming project, nodejs, mathematical m, javascript nodejs, need custom writing, mathematical expression, custom product javascript example, find interesting product, custom project jan 2013, custom sounds, custom product javascript, parsing project, mathematical programming, fun writing project, fun javascript project, interesting javascript project

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

Projekt-ID: #4091616

1 freelancer byder i gennemsnit €10 for dette job


Hired by the Employer

€10 EUR / time
(1 bedømmelse)