Difference between revisions of "Talk:FormulaAI"

From The Battle for Wesnoth Wiki
(Criticism)
 
m (Criticism)
Line 1: Line 1:
 
=== Criticism ===
 
=== Criticism ===
 
Sorry gentlemen, it's fun, but as for me:
 
Sorry gentlemen, it's fun, but as for me:
* WML syntax is awkward for programming; only sample I can name, [http://www.wesnoth.org/forum/viewtopic.php?f=10&t=15764&st=0&sk=t&sd=a&start=15 Chesslike] AI, is 24K in Python and will be three times longer in WML-like language;
+
* WML syntax is awkward for programming; only rather simple sample I can name, [http://www.wesnoth.org/forum/viewtopic.php?f=10&t=15764&st=0&sk=t&sd=a&start=15 Chesslike] AI, is 24K in Python and will be three times longer in WML-like language;
 
* It would be difficult to debug without a proper IDE;
 
* It would be difficult to debug without a proper IDE;
 
* It needs a sort of standard library;
 
* It needs a sort of standard library;
Line 10: Line 10:
 
Porting to is could be another SoC option.
 
Porting to is could be another SoC option.
 
One could even dream about SoC idea - converting WML to Lua.
 
One could even dream about SoC idea - converting WML to Lua.
 +
 +
Additionally, I'd recommend to use "wishful thinking" to prototype simplest algorythm in this syntax and try to evaluate the work. Maybe start with porting Chesslike AI.
  
 
=== Stupid jokes ===
 
=== Stupid jokes ===

Revision as of 19:43, 19 March 2008

Criticism

Sorry gentlemen, it's fun, but as for me:

  • WML syntax is awkward for programming; only rather simple sample I can name, Chesslike AI, is 24K in Python and will be three times longer in WML-like language;
  • It would be difficult to debug without a proper IDE;
  • It needs a sort of standard library;
  • New implementation is subject to bugs, syntax changes and bad performance;
  • How many AIs are there and will there be notably more if you add another language no one knows, given all the mentioned factors?

What about considering Lua as an alternative scripting language? Porting to is could be another SoC option. One could even dream about SoC idea - converting WML to Lua.

Additionally, I'd recommend to use "wishful thinking" to prototype simplest algorythm in this syntax and try to evaluate the work. Maybe start with porting Chesslike AI.

Stupid jokes

Doesn't it remind: "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp." - Philip Greenspun.

With a respect for you and your work,

Singalen 15:40, 19 March 2008 (EDT)