24FreelanceFreelance-Marktplatz, der niemals schläft
Geschlossen

Designing a lexical analyzer

1 640 Ansichten 0 Antworten#2388
Projektstatus
Closed
Budget€3 250für das Projekt
FormatEinmaliges ProjektVorauszahlung möglich
ZahlungE-Geld
Antworten akzeptiertFertigbis 17.06.2016
Antworten0Kategorien-Durchschnitt: 0,3
Ansichten1 64054 in 14 Tagen

Projektbeschreibung

1. grammar given G( {(, ), ^, &, ~, a}, {S, R, T, G, E, F}, P, S)
P:
S->T | TR
R->^T|^TR
T->E | EG
G->&E | &EG
E-> ~E| F
F -> (S) | a
convert to grammar LL(1), build a recognizer based on the resulting grammar and perform a sequence analysis "a^a&~a&(a^~a)"
This is Program 1.

2. grammar given G( {"if","then","else", a, b }, {S,T,E,F}, P, S)
P:
S-> if b then T else S | if b then S | a
T-> if b then T else S | a
convert to grammar LL(1), build a recognizer based on the resulting grammar and perform a sequence parsing "if b then if b then if b then if b then a other a"";
interface to task 1 and 2:
1) the original grammar, 2) the automatic filling of the FIRST and FOLLOW table (after using left factorization), 3) the parsing table (stack, input, output (writes "pushing out" or applied generation from the parsing table) . eventually d.b. Admission or Reject.
This is Program 2.

The approximate int-s for the 1.2th task attached the file, but there should be spaces between the tokens

3. Also build (with this grammar in task 2) a simple precedence recognizer.
The interface is similar, but here you can either transfer or convolution.
This is Program 3.

all Delphi 7
Available code, with comments.
2 days...the price is fixed.
24
Zwanzig · Tipp

Wie man eine Antwort schreibt, die ausgewählt wird

  • Beginnen Sie mit der Aufgabe des Kunden, nicht mit einer Geschichte über sich selbst.
  • Verlinken Sie ein oder zwei ähnliche Arbeiten aus Ihrem Portfolio.
  • Nennen Sie einen Preis und eine Frist – und was genau sie beinhalten.
  • Stellen Sie eine klärende Frage: das beginnt das Gespräch.

Antworten 0

Antworttexte sind nur für den Kunden sichtbar.

Gleiche Kategorie

Ähnliche Projekte

Alle Projekte in der Kategorie
Website accessibility audit against WCAG

Website accessibility audit against WCAG

We need an independent WCAG accessibility audit of our website: keyboard, contrast, screen readers and a clear report with fixes.

Softwareentwicklung24.09.20260177
0Antworten
Gut zu wissen
Wie antworte ich auf dieses Projekt?

Melden Sie sich als Freelancer an, beschreiben Sie, wie Sie die Aufgabe lösen werden, nennen Sie Ihren Preis und Ihre Frist. Der Kunde liest die Antworten und beginnt einen Dialog mit den besten.

Wer kann meine Antwort sehen?

Nur der Kunde, der das Projekt veröffentlicht hat, und Sie. Andere Freelancer sehen Ihren Text oder Preis nicht.

Wo finde ich ähnliche Arbeiten?

Neue Projekte in „Softwareentwicklung“ erscheinen jeden Tag. Alle Projekte in der Kategorie

FOR CLIENTS · SAFE DEAL ESCROW

Need a similar project? Post your task for free in 30 seconds

Get competitive bids from verified freelancers and release payment only when you approve the work via Safe Deal.

Post a Task for Free →How Safe Deal Works
FOR FREELANCERS · PAYORA 1-CLICK

Pin your profile to the TOP of the category for $5 / week

Boost your profile and portfolio to #1 in the directory (1-click crypto & fiat checkout via Payora) to get 5× more direct orders.

Pin Profile to TOP ($5/wk)Top Up via Payora