RSS Forums RSS
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 1377 | Replies: 3
Join Date: Mar 2006
Posts: 12
Reputation: a.baki is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
a.baki a.baki is offline Offline
Newbie Poster

Help Regular Expressions

  #1  
Mar 27th, 2007
How can I write regular expressions(REs) for any language that are syntactically correct.

For example, Turkish has two classes of vowels — front and back. Vowel harmony states that words may not contain both front and back vowels. Therefore, most grammatical suffixes come in front and back forms, e.g. Türkiye'de "in Turkey" but kapıda "at the door".
front = { a, ı, o, u }
back = { e, i, ö, ü }

And how can I draw a Finite Automato for these REs

Can anyone give me simple examples.
I will try to write regular expression for the whole grammar of language and than write the code in C. But need some starting point.
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:31 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC