Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Re: [WikiEN-l] MediaWiki is getting a new programming language

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


questpc at rambler

Sep 7, 2009, 11:02 PM

Post #1 of 3 (570 views)
Permalink
Re: [WikiEN-l] MediaWiki is getting a new programming language

Hi!
Is there any progress on this? Or, that's closed topic and such built-in
language won't be implemented?
By the way, the lots of MediaWiki installations use TeX, so OCaml is
already available as the language for extensions. Imagine #ocaml parser
function or an ocaml tag. It's not the most lightweight choise, though.
Also, Bryan Tong Minh had a great idea - choosing between an external
(compiled) version of Lua (or another scripting language) and
"fallback" to slow built-in interpreter, when the first choice is
unavailable. Perhaps a limited subset of Lua.
Dmitriy

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


questpc at rambler

Sep 8, 2009, 7:49 AM

Post #2 of 3 (523 views)
Permalink
Re: [WikiEN-l] MediaWiki is getting a new programming language [In reply to]

* Aryeh Gregor <Simetrical+wikilist [at] gmail> [Tue, 8 Sep 2009 09:34:25
-0400]:
> It can't be a limited subset if Wikipedia templates are meant to work.
> It needs to be an exact match. Someone would have to write a Lua
> interpreter in pure PHP, which is unlikely to happen.
>
It's possible to preprocess the source first, to "filter out" the extra
language constructions which are not supported by built-in interpreter.
Throw an error in such case.
Anyway, maybe Victor Vasiliev will present a different language.
Dmitriy

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


questpc at rambler

Sep 8, 2009, 8:24 AM

Post #3 of 3 (524 views)
Permalink
Re: [WikiEN-l] MediaWiki is getting a new programming language [In reply to]

* Aryeh Gregor <Simetrical+wikilist [at] gmail> [Tue, 8 Sep 2009 10:55:49
-0400]:
> Then the page will still be broken, so that doesn't help anything.
>
It will be broken only if some extra non-supported language
constructions are presented in the source text. One syntax check
pre-processor for both paths: PHP interpreter and external interpreter.
Dmitriy

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.