Mar
28

PLAIN TEXT JAVASCRIPT: TheRulesAre(function() { with(this) {     a(Player).mayNot(’buyProperty’).unless(function(player, property) {        return property.owner === null &&                player.funds>= property.price;    });     a(Property).mayNot(’addHouse’).when(it().isMortgaged());}});  Composing DSLs in JavaScript is James Coglan’s latest perusal into fun with JavaScript and DSLs. He walks through the building of this DSL in a step by […]

More: continued here

AjaxDir.com These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • Ma.gnolia
  • MyShare
  • Netscape
  • NewsVine
  • PlugIM
  • PopCurrent
  • ppnow
  • RawSugar
  • Rec6
  • Reddit
  • Scoopeo
  • scuttle
  • Shadows
  • Simpy
  • Slashdot
  • Smarking
  • SphereIt
  • Spurl
  • StumbleUpon
  • Taggly
  • TailRank
  • Technorati
  • Webride
  • Wykop
  • YahooMyWeb

No Comments Make A Comment

No comments yet.

Comments RSS Feed   TrackBack URL

Leave a comment

You must be logged in to post a comment.