<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/GF/Infra/CompactPrint.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>2009-12-13T18:50:29+00:00</updated>
<entry>
<title>reorganize the directories under src, and rescue the JavaScript interpreter from deprecated</title>
<updated>2009-12-13T18:50:29+00:00</updated>
<author>
<name>krasimir</name>
<email>krasimir@chalmers.se</email>
</author>
<published>2009-12-13T18:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=f85232947e74ee7ef8c7b0ad2338212e7e68f1be'/>
<id>urn:sha1:f85232947e74ee7ef8c7b0ad2338212e7e68f1be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals.</title>
<updated>2008-09-15T13:16:04+00:00</updated>
<author>
<name>bjorn</name>
<email>bjorn@bringert.net</email>
</author>
<published>2008-09-15T13:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3a7888e66008f1df2e68474c94f94c82f6042383'/>
<id>urn:sha1:3a7888e66008f1df2e68474c94f94c82f6042383</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Temporary fix for the grave accent a encoding problem: change compatPrint to id.</title>
<updated>2008-09-15T12:38:37+00:00</updated>
<author>
<name>bjorn</name>
<email>bjorn@bringert.net</email>
</author>
<published>2008-09-15T12:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=dbb0f3f3e464044aef1de3abfc1286569ea6543f'/>
<id>urn:sha1:dbb0f3f3e464044aef1de3abfc1286569ea6543f</id>
<content type='text'>
The problem is that lower case a with a grave accent is coded in UTF-8 as \195\160. 
Unicode character \160 is non-breaking space, so Haskell's words function
will break a UTF-8 encoded string at this character.
String literals in the .gfo file are UTF-8 encoded in generateModuleCode,
just before the call to prGrammar (which uses compactPrint, which used words).
The real solution would be to pretty-print the grammar to Unicode, and then
encode as UTF-8. The problem with that is Latin-1 identifers. They are now
kept in Latin-1 in the .gfo file, since Alex can't handle Unicode.
The real solution to that would be to fix Alex to handle Unicode, but 
that is non-trivial. GHC interally uses a very hacky .x file to be
able to lex UTF-8 source files. 

An alternative solution that doesn't address the weirdness of using two different
encodings in the same .gfo as we do now, is to incorporate compactPrint
into the grammar printer, to avoid having to do any postprocessing.

</content>
</entry>
<entry>
<title>changed names of resource-1.3; added a note on homepage on release</title>
<updated>2008-06-25T16:54:35+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2008-06-25T16:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e9e80fc389365e24d4300d7d5390c7d833a96c50'/>
<id>urn:sha1:e9e80fc389365e24d4300d7d5390c7d833a96c50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>removed src for 2.9</title>
<updated>2008-06-25T16:43:48+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2008-06-25T16:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=b96b36f43de3e2f8b58d5f539daa6f6d47f25870'/>
<id>urn:sha1:b96b36f43de3e2f8b58d5f539daa6f6d47f25870</id>
<content type='text'>
</content>
</entry>
<entry>
<title>option -mac to vt command (uses open with ps)</title>
<updated>2008-03-06T21:27:14+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2008-03-06T21:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=27508654c01c5ebad3c495629ccbd49c067429ab'/>
<id>urn:sha1:27508654c01c5ebad3c495629ccbd49c067429ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refresh compilation phase in the new format</title>
<updated>2007-12-07T10:23:18+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2007-12-07T10:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e013138f0ca0db7ecc164f7d52816287f696d265'/>
<id>urn:sha1:e013138f0ca0db7ecc164f7d52816287f696d265</id>
<content type='text'>
</content>
</entry>
<entry>
<title>encoding of lincats as gfcc terms with param value information</title>
<updated>2007-11-07T17:27:09+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2007-11-07T17:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=23b2826a4476c1514e368d86e09434108da7836f'/>
<id>urn:sha1:23b2826a4476c1514e368d86e09434108da7836f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cleaned up new GFCC, but added RP as deprecated</title>
<updated>2007-10-05T09:02:47+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2007-10-05T09:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=945a49214bd49fb082e8f613fc68d192a1b38743'/>
<id>urn:sha1:945a49214bd49fb082e8f613fc68d192a1b38743</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed reading argvars from gfc in gf-to-gfcc</title>
<updated>2007-09-21T12:00:31+00:00</updated>
<author>
<name>aarne</name>
<email>aarne@cs.chalmers.se</email>
</author>
<published>2007-09-21T12:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=0260265de0cf1e05c88e6475531b589d5302ebaf'/>
<id>urn:sha1:0260265de0cf1e05c88e6475531b589d5302ebaf</id>
<content type='text'>
</content>
</entry>
</feed>
