Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 10:27:34 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/devel Makefile ports/devel/rubygem-polyglot Makefile distinfo pkg-descr
Message-ID:  <200910111027.n9BARYk1002405@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wen         2009-10-11 10:27:34 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/rubygem-polyglot Makefile distinfo pkg-descr 
  Log:
  Polyglot provides a registry of file types that can be loaded by
  calling its improved version of 'require'. Each file extension
  that can be handled by a custom loader is registered by calling
  Polyglot.register('ext', <class>), and then you can simply
  require 'somefile', which will find and load 'somefile.ext'
  using your custom loader.
  
  This supports the creation of DSLs having a syntax that is most
  appropriate to their purpose, instead of abusing the Ruby syntax.
  
  Required files are attempted first using the normal Ruby loader,
  and if that fails, Polyglot conducts a search for a file having
  a supported extension.
  
  WWW:    http://polyglot.rubyforge.org/
  
  Approved by:    miwi(mentor)
  
  Revision  Changes    Path
  1.3656    +1 -0      ports/devel/Makefile
  1.1       +20 -0     ports/devel/rubygem-polyglot/Makefile (new)
  1.1       +3 -0      ports/devel/rubygem-polyglot/distinfo (new)
  1.1       +15 -0     ports/devel/rubygem-polyglot/pkg-descr (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910111027.n9BARYk1002405>