Find Jobs
Hire Freelancers

Creating a FSA from a Regular Expression

$30-50 USD

已关闭
已发布超过 22 年前

$30-50 USD

货到付款
I need someone to write a program in C (using Lex and Yacc) that takes a regular expression as input and creates a C source file. The source file contain a virtual automaton that accepts input that satisfies the regular expression. The source file must produce a valid C program that will compile free of errors or warnings under Linux's gcc compiler using such options as -Wall, -ansi, -pedantic and electric fence. No linked libraries or #includes other than stdio.h. The regular expression will be provided on the command line enclosed in quotation marks (e.g. "(ab + cd)"). The regular expressions will follow these rules: - + means union (or) - * means Kleene (zero or more) - Letters together means concatenation (e.g. ab) - Brackets can be used. - Any or all of the 26 lowercase alphabetical letters can be used. Just like in math, brackets take precendence, then catecatenation, then union. Lex and Yacc must be used to interprete the inputed regular expression and create the output source file. If you need any further info, please contact me. ## Deliverables Complete complete source code of all work done. The source code delivered must compile and run on my linux system (RedHat 7.1) free of errors using the -Wall, -ansi and -pedantic options. The source file produced by the program must also compile on my linux system using the above options. The program must be able to handle ANY regular expression I can think of entering as input and create another program that accepts a specific example of that regular expression. ## Deadline information The entire program must be completed by Wednesday, October 17, 2001.
项目 ID: 2829189

关于此项目

5提案
远程项目
活跃22 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$37 USD来参与此工作竞价
用户头像
See private message.
$34 USD 在14天之内
4.6 (60条评论)
4.5
4.5
用户头像
See private message.
$42.50 USD 在14天之内
4.6 (14条评论)
3.4
3.4
用户头像
See private message.
$42.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$42.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$25.50 USD 在14天之内
0.0 (1条评论)
0.0
0.0

关于客户

CANADA的国旗
Canada
0.0
0
会员自10月 13, 2001起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。