<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/compiler/GF/Compile/Compute/ConcreteLazy.hs, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.adelon.net/gf-core.git/atom?h=master</id>
<link rel='self' href='https://git.adelon.net/gf-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/'/>
<updated>2014-10-20T15:05:43+00:00</updated>
<entry>
<title>Remove some dead code</title>
<updated>2014-10-20T15:05:43+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-10-20T15:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=55aebadd5a64eb3f6a566168bbeeeb7cbb4ccb44'/>
<id>urn:sha1:55aebadd5a64eb3f6a566168bbeeeb7cbb4ccb44</id>
<content type='text'>
* The following modules are no longer used and have been removed completely:

	GF.Compile.Compute.ConcreteLazy
	GF.Compile.Compute.ConcreteStrict
	GF.Compile.Refresh

* The STM monad has been commented out. It was only used in
  GF.Compile.SubExpOpt, where could be replaced with a plain State monad,
  since no error handling was needed. One of the functions was hardwired to
  the Err monad, but did in fact not use error handling, so it was turned
  into a pure function.

* The function errVal has been renamed to fromErr (since it is analogous to
  fromMaybe).

* Replaced 'fail' with 'raise' and 'return ()' with 'done' in a few places.

* Some additional old code that was already commented out has been removed.
</content>
</entry>
<entry>
<title>Convert from Text.PrettyPrint to GF.Text.Pretty</title>
<updated>2014-07-28T11:58:00+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-07-28T11:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=7a91afc02a0a245bf9fea248e61421a75c22137d'/>
<id>urn:sha1:7a91afc02a0a245bf9fea248e61421a75c22137d</id>
<content type='text'>
All compiler modules now use GF.Text.Pretty instead of Text.PrettyPrint
</content>
</entry>
<entry>
<title>Commment code and options relating to the old partial evaluator</title>
<updated>2013-11-29T16:26:49+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-11-29T16:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=7d1c01138998497e70008b03c3b09b508850cb32'/>
<id>urn:sha1:7d1c01138998497e70008b03c3b09b508850cb32</id>
<content type='text'>
This means that the -old-comp and -new-comp flags are not recognized anymore.

The only functional difference is that printnames were still normalized with
the old partial evaluator. Now that is done with the new partial evaluator.
</content>
</entry>
<entry>
<title>Move checkPredefError from GF.Compile.Compute.ConcreteLazy to GF.Grammar.Macros</title>
<updated>2013-11-29T14:43:01+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-11-29T14:43:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=0a59f95d92223bae842323d582ec5d2eb3156a8d'/>
<id>urn:sha1:0a59f95d92223bae842323d582ec5d2eb3156a8d</id>
<content type='text'>
Also simplified its type.
</content>
</entry>
<entry>
<title>Eliminate mutual dependencies between the GF compiler and the PGF library</title>
<updated>2013-11-05T13:11:10+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-11-05T13:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3814841d7d3b77b3f033cb98c1c0a04ac39435d7'/>
<id>urn:sha1:3814841d7d3b77b3f033cb98c1c0a04ac39435d7</id>
<content type='text'>
+ References to modules under src/compiler have been eliminated from the PGF
  library (under src/runtime/haskell). Only two functions had to be moved (from
  GF.Data.Utilities to PGF.Utilities) to make this possible, other apparent
  dependencies turned out to be vacuous.

+ In gf.cabal, the GF executable no longer directly depends on the PGF library
  source directory, but only on the exposed library modules. This means that
  there is less duplication in gf.cabal and that the 30 modules in the
  PGF library will no longer be compiled twice while building GF.

  To make this possible, additional PGF library modules have been exposed, even
  though they should probably be considered for internal use only. They could
  be collected in a PGF.Internal module, or marked as "unstable", to make
  this explicit.

+ Also, by using the -fwarn-unused-imports flag, ~220 redundant imports were
  found and removed, reducing the total number of imports by ~15%.

</content>
</entry>
<entry>
<title>Make Ident abstract; imports of Data.ByteString.Char8 down from 29 to 16 modules</title>
<updated>2013-09-19T18:23:47+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-09-19T18:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3d5b9bd1fd46a51651cbfbd45f03e5b878aebbac'/>
<id>urn:sha1:3d5b9bd1fd46a51651cbfbd45f03e5b878aebbac</id>
<content type='text'>
Most of the explicit uses of ByteStrings were eliminated by using identS,

	identS = identC . BS.pack 

which was found in GF.Grammar.CF and moved to GF.Infra.Ident. The function

	prefixIdent :: String -&gt; Ident -&gt; Ident

allowed one additional import of ByteString to be eliminated. The functions

	isArgIdent :: Ident -&gt; Bool
	getArgIndex :: Ident -&gt; Maybe Int

were needed to eliminate explicit pattern matching on Ident from two modules.
</content>
</entry>
<entry>
<title>Fix an old name shadowing bug in concrete syntax by removing the refresh pass</title>
<updated>2013-09-09T14:29:57+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-09-09T14:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=83283b0d6a1e714def620a2ad2a7166c6c3a0147'/>
<id>urn:sha1:83283b0d6a1e714def620a2ad2a7166c6c3a0147</id>
<content type='text'>
The refresh pass does not correctly keep track of the scope of local variables
and can convert things like \x-&gt;(\x-&gt;x) x into \x1-&gt;(\x2-&gt;x2) x2. Fortunately,
it appears that the refresh pass is not needed anymore, so it has been removed.
</content>
</entry>
<entry>
<title>missing case in partial evaluation of + fixed</title>
<updated>2012-05-15T11:48:30+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@chalmers.se</email>
</author>
<published>2012-05-15T11:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=a2bae03824fa568c0ad5050f3e841ac168f30a95'/>
<id>urn:sha1:a2bae03824fa568c0ad5050f3e841ac168f30a95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge GF.Infra.Modules and GF.Grammar.Grammar. This is a preparation for the separate PGF building</title>
<updated>2011-11-02T13:57:11+00:00</updated>
<author>
<name>kr.angelov</name>
<email>kr.angelov@gmail.com</email>
</author>
<published>2011-11-02T13:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=734c66710e9bffa986c094e8c584295b33cd2f63'/>
<id>urn:sha1:734c66710e9bffa986c094e8c584295b33cd2f63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Recording an alternative version of look in Compute/ConcreteLazy.hs</title>
<updated>2011-10-25T18:50:07+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-10-25T18:50:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=c4ee13abac2762e635c21e9f65a67fa2564fdd04'/>
<id>urn:sha1:c4ee13abac2762e635c21e9f65a67fa2564fdd04</id>
<content type='text'>
Commented out, causes problems in the greek example.
</content>
</entry>
</feed>
