Reply to Parsing Question...

Your name:

Reply:


Posted by cjl on 02/10/07 00:27

As a learning exercise, I am trying to write a web-based version of
'drawbot' in PHP.

See: http://just.letterror.com/ltrwiki/DrawBot

I am interested in hearing ideas about how to approach the user input
parsing problem. I would like to allow people to type in simple code
and have it executed, but I need to limit the code they can write to a
few pre-defined drawing functions, as well as control structures like
loops, if thens, etc...

Short of writing a parser, which is clearly beyond me, what are some
reasonable approaches to handling user input that will be executed?

Thanks in advance,
-CJL

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация