I am interested in model an develop a new object pascal interpreter for web site scripting. We have PHP, Pearl, Java, Javabeans... But not Pascal as a option for web developers.
Since Delphi only works in Windows based servers...
I would like to do things like:
<input name="ClientName" value="<?pas write(ClintObj.Name); ?>">
or
<input name="ClientName" value="<?pas @ClintObj.GetName; ?>">
not just as a template, but just like PHP, something I could use with a MVC framework, or even create one:
<?pas
System.Writeln('<html><head>...');
?>
Where should I start?
Or is it already done and I fail to find it? (for linux)
You are mixing embedding a scripting version of a language in templates with general web development in that language.
While Pascal isn't really used much as templating language, doing webdevelopment is perfectly possible, e.g. with http://brookframework.org/ and several Delphi component suites.
Some of the Delphi options also support Apache, and have supported Kylix in the past. I used webhub from http://www.href.com for a while.