24Freelance永不休眠的自由职业市场
关闭

Designing a lexical analyzer

1 641 浏览 0 回复#2388
项目状态
Closed
预算€3 250项目预算
格式一次性项目可预付款
付款电子货币
接受的回复完成直到 17.06.2016
回复0类别平均: 0,3
视图1 641在14天内 55

项目描述

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
二十 · 提示

如何写出被选中的回复

  • 以客户的任务开头,而不是讲述自己的故事。
  • 链接一到两个来自您作品集的类似作品。
  • 给出一个价格和截止日期——以及它们具体包括什么。
  • 问一个澄清问题:这可以开始对话。

回复 0

回复文本仅对客户可见。

同类类别

类似项目

该类别中的所有项目
Warehouse inventory app with barcode scanner

Warehouse inventory app with barcode scanner

Looking for a developer to build a mobile warehouse inventory app with barcode scanning, receiving, dispatch, stocktake and reports.

软件开发24.09.20260182
0回复
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.

软件开发24.09.20260178
0回复
值得注意
我该如何回应这个项目?

以自由职业者身份登录,描述您将如何解决任务,命名您的价格和截止日期。客户会阅读回复并与最佳的进行对话。

谁能看到我的回复?

只有发布项目的客户和您自己。其他自由职业者无法看到您的文本或价格。

我在哪里可以找到类似的工作?

在“软件开发”中每天都有新项目出现。 该类别中的所有项目

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