<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.smalltalk.fonc">
    <title>gmane.comp.lang.smalltalk.fonc</title>
    <link>http://blog.gmane.org/gmane.comp.lang.smalltalk.fonc</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/549"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/544"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/543"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/536"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/535"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/528"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/527"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/518"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/511"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/508"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/507"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/506"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/502"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/499"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/492"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/483"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/471"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/465"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/464"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/459"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/549">
    <title>let syntax in Jolt2</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/549</link>
    <description></description>
    <dc:creator>Michael Haupt</dc:creator>
    <dc:date>2008-05-17T14:43:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/544">
    <title>Cannot run pull: repository is unrelated?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/544</link>
    <description> &gt; sh pull
pulling from http://fig.org/ocean/hg.cgi
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
pulling from http://fig.org/ocean/mq.cgi
searching for changes
abort: repository is unrelated

What's going on here?

I have some fixes to libid I'd like to contribute.

Kurt Stephens
http://kurtstephens.com

</description>
    <dc:creator>Kurt Stephens</dc:creator>
    <dc:date>2008-05-07T15:39:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/543">
    <title>incorrect string literal quasiquotation in jolt2</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/543</link>
    <description>Hi,

The following crashes Jolt2:

(syntax test-quasiquote
  (lambda (node compiler)
    (let ((expr `(printf "hello world\n")))
      [StdOut print: expr] [StdOut cr]
      expr)))
(test-quasiquote)

The output is:

(#printf (104 101 108 108 111 32 119 111 114 108 100 10))

I can see from function/jolt2/boot.k that quasiquote doesn't handle
constant strings correctly, so they get treated as if they are a list
of integers (because they are vectors too).

I don't know how to fix this right now given the tools in the current
Jolt2 parser.  Are there any suggestions?

</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-05-06T00:36:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/536">
    <title>PipeStreams (aka. generators)</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/536</link>
    <description>Hi all,

I created an interesting derivative of function/objects/Stream.st
called PipeStream.st.  It uses the POSIX &lt;ucontext.h&gt; functions to
implement fully deterministic coroutine-based streams whose producer
is a BlockClosure.  Any attempt to read the stream transfers control
to the producer coroutine (running on the same OS thread) where it
attempts to provide enough data to fill the request.  From the
producer's point of view, they just run to completion.

It's like other languages' "generators" feature, but without having to
do an explicit "yield".  The PipeStream machinery just detects when
you write enough objects back to it (or write a few then exit), then
resumes control in the reader.

I'm quite happy with it, and will be using it to separate my C
preprocessor into multiple pipelined parsing stages so that each stage
is independent and easier to debug.

The only downside I can see is that &lt;ucontext.h&gt; is not all that
common.  I don't know if something like it exists for Windows
(actually, NT Fiber</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-05-02T13:04:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/535">
    <title>Jolt2 grammar questions</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/535</link>
    <description>Hi Ian (since I think you're the only person who can answer),

I'm trying to parameterize a Jolt2 grammar so that it can vary based
on runtime function calls.  What I would like is similar functionality
to OMeta's semantic predicates.

Here's a snippet from the grammar to illustrate the situation:

   // Not necessarily the best syntax, but is chosen to mean that
   // doTrigraphs matches iff [self trigraphsEnabled] evaluates
   // to nonzero.
   doTrigraphs=? [self trigraphsEnabled]
   
   // This is a backslash trigraph.
   trigraphBs= '??/' &lt;- '$\\

   // This matches either a regular backslash, or a trigraph version
   // if [self trigraphsEnabled] evaluates to nonzero.
   backslash= '\\' | doTrigraphs trigraphBs

BTW, a somewhat related question: what are the '=&gt;' and '&lt;=' grammar
operators?  I tried understanding them, but there are no examples, and
the code was not obvious.

Thanks,

</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-05-02T03:36:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/528">
    <title>working on a C grammar</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/528</link>
    <description>Hi all,

I was wondering if any of you out there have a freely licensed PEG for
C?  I'm interested in combining it with a C preprocessor grammar to
start interpreting (or compiling via Slink) some C code.  With a
little work, this would be extensible to handle Id code, and then we'd
be one step closer to bootstrap.

If not, I have at least a decent BNF reference at
http://ivs.cs.uni-magdeburg.de/~puma/UsersManual/HTML/node12.html
though I would rather start from something that has all the operator
precedences completed in PEG format.

Thanks,

</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-05-01T01:54:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/527">
    <title>tutorial update</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/527</link>
    <description>Dear all,

just a brief notice that my COLA tutorial ("Implementing Brainfuck in  
COLA") is available in an updated version. The update does not bring  
anything fundamentally new, just enhancements, mostly in terms of  
accuracy.

http://www.swa.hpi.uni-potsdam.de/tutorials/cola/index.html

Best,

Michael

</description>
    <dc:creator>Michael Haupt</dc:creator>
    <dc:date>2008-04-30T19:41:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/518">
    <title>idc for windows platform</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/518</link>
    <description/>
    <dc:creator>Aaron Gray</dc:creator>
    <dc:date>2008-04-27T21:18:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/511">
    <title>Intro myself / General interest voicing / rant you can ignore</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/511</link>
    <description/>
    <dc:creator>Felix Rabe</dc:creator>
    <dc:date>2008-04-20T15:12:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/508">
    <title>jolt2: better jolt-burg compatibility</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/508</link>
    <description>Hi,

The attached patch provides much better support for the jolt-burg
grammar features that aren't implemented in
function/jolt2/ColaGrammar.st.  Please reverse my last
jolt2-fixes.patch (if you applied it) before applying this one.

Inspired by OMeta, I added a new 'EXTENDS:' keyword (which can appear
after the grammar rules but before the optional start expression)
which allows you to import rules from another grammar.  The import
doesn't overwrite existing rules, and you can use EXTENDS: as many
times as you like.

With that established, I added a new ColaGrammar-derived grammar to
jolt2/boot.k that implements the missing features.  Reading that file
in conjunction with function/jolt2/ColaGrammar.st and the other
function/examples2 parsers should give you a good idea of how to use
jolt2's parsing features.  It should be possible to strip even more
out of ColaGrammar and put it into boot.k.  I'll leave that as an
exercise for the reader.

Maybe now would be a good time to update the Brainf*ck tutorial?

[</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-04-17T05:34:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/507">
    <title>jolt2: minor fixes and beginnings of function/examples</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/507</link>
    <description>Hi,

I've been spending some quality time with jolt2, and here are some
basic patches I needed to get things working.

$ cd function/jolt2
$ make # builds jolt2
$ make test # runs sanaras.k
$ make test-old # runs function/examples with jolt2
$ cd ../examples2/bunnu
$ make test

test-old just helps show where jolt2 is missing a few features.  So
far only select, slotnames (of course), x-drawing, and x-event work
correctly.

I only found two little problems with ColaParser:

* Hexadecimal and binary literals weren't being parsed correctly (the
'0' in '0x' would always get sucked up by the decimal parser, and '0b'
wasn't yet implemented).

* Character literals ($c, $\n, etc) weren't implemented.

The rest of this patch is a baby step towards fixing
function/examples.  I'll update it as I get more working (if I have to
break any of the tests' compatibility with jolt-burg, I will first
copy them into examples2).

Have fun,

</description>
    <dc:creator>Michael FIG</dc:creator>
    <dc:date>2008-04-15T05:32:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/506">
    <title>port of jolt-burg</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/506</link>
    <description/>
    <dc:creator>John Leuner</dc:creator>
    <dc:date>2008-04-14T16:30:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/502">
    <title>extensible parser</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/502</link>
    <description>Folks,

I just added idst/function/jolt2 and idst/function/examples2 to the  
repository.  The subject line says the rest.  Documentation to follow  
soon.  It's experimental and certainly contains bugs.  Break it and/ 
or criticise it violently.

Cheers,
Ian





</description>
    <dc:creator>Ian Piumarta</dc:creator>
    <dc:date>2008-04-10T19:36:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/499">
    <title>can't build on osx</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/499</link>
    <description>I'm on a macbook air and this is my first build on this laptop:

% uname -a
Darwin wrath.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4  
21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386

% sw_vers
ProductName:Mac OS X
ProductVersion:10.5.2
BuildVersion:9C7010

# just the failures:
% make
/bin/sh -ec 'for dir in object function; do ( cd $dir; make ); done'
/Users/ryan/Work/svn/idst/object
/bin/sh -ec '( cd boot; make )'
/Users/ryan/Work/svn/idst/object/boot
/bin/sh -ec 'cd ../gc6.7/; test -f config.log || ABI_FLAG="-arch  
i486" ./configure --enable-threads=posix --enable-large-config; make  
ABI_FLAG="-arch i486"'
Making all in doc
/Users/ryan/Work/svn/idst/object/gc6.7/doc
make[4]: Nothing to be done for `all'.
Making all in include
/Users/ryan/Work/svn/idst/object/gc6.7/include
make[4]: Nothing to be done for `all'.
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"gc\" - 
DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.7\" -DPACKAGE_STRING=\"gc 
\ 6.7\" -DPACKAGE_BUGREPORT=\"Hans.Bo</description>
    <dc:creator>Ryan Davis</dc:creator>
    <dc:date>2008-04-10T01:39:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/492">
    <title>a patch for #405</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/492</link>
    <description>Hi Ian,

FYI, this is today's patch for building latest svn tree on my Windows.
One is Windows specific, and two are about Makefile for gc6.7 matter.

Cheers,
- Takashi
</description>
    <dc:creator>Takashi Yamamiya</dc:creator>
    <dc:date>2008-04-08T20:30:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/483">
    <title>Array question</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/483</link>
    <description>Hey everyone,

My brain's probably fried from coding for too many consecutive hours,
but this following looks kinda strange to me:

(from function/objects/Array.st):

Array size_: _size value_: _value
[
    self := self new: (SmallInteger value_: _size).
    _oops := _value.
    {
      int i;
      for (i= 0;  i &lt; (int)v__size;  ++i)
        ((oop *)self-&gt;v__oops)[i]= *((oop **)v__value)[i];
    }.
]

What is that "_oops := _value." doing?

Dan

</description>
    <dc:creator>Dan Amelang</dc:creator>
    <dc:date>2008-04-07T23:12:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/471">
    <title>Compile idst with SELinux</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/471</link>
    <description>Hi,

I just noticed that you have to take care about SELinux issue when you
build idst on linux. An easy way is to run:

chcon -t texrel_shlib_t *.so

wherever error occurs, or to rewrite Makefile. Real problem is this
error message (st80.so: No such file or directory) means nothing. I
spend about this issue half day with gdb so I send the email if it
helps someone.

Cheers,
- Takashi

Index: object/Makefile
===================================================================
--- object/Makefile(revision 400)
+++ object/Makefile(working copy)
&lt; at &gt;&lt; at &gt; -8,18 +8,22 &lt; at &gt;&lt; at &gt;

 boot : .config-stamp .FORCE
 -$(SHELL) -ec '( cd boot; $(MAKE) )'
+-chcon -t texrel_shlib_t boot/*.so

 stage1 : .FORCE
 -$(SHELL) -ec '[ -d stage1 ] || mkdir stage1'
 $(SHELL) -ec 'for dir in $(SUBDIRS); do ( echo $$dir; cd $$dir;
$(MAKE) IDC="../boot/idc -B../boot/ -O" BIN="../stage1/" ); done'
+-chcon -t texrel_shlib_t stage1/*.so

 stage2 : .FORCE
 -$(SHELL) -ec '[ -d stage2 ] || mkdir stage2'
 $(SHELL) -ec 'for dir in $(SUBDIRS); do ( ec</description>
    <dc:creator>Takashi Yamamiya</dc:creator>
    <dc:date>2008-04-02T21:43:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/465">
    <title>Jolt, statics?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/465</link>
    <description>Dear all,

is it somehow possible to have, in Jolt, the equivalent of the  
following C code?

void f() {
   static int x = 0;
   ...
   x++;
   ...
}

Best,

Michael

</description>
    <dc:creator>Michael Haupt</dc:creator>
    <dc:date>2008-04-01T13:59:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/464">
    <title>Building on x86_64 Fedora 8</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/464</link>
    <description>After making the changes to object/boot/configure (below) I was able to build 
the first idc.  Now the build fails with a "primitive error handling failed" 
idc error as shown here:


make[2]: Leaving directory `/home/karl/osrc/languages/COLA-idst/object/boot'
/bin/sh -ec '[ -d stage1 ] || mkdir stage1'
/bin/sh -ec 'for dir in id st80 idc; do ( echo $dir; cd $dir; make 
IDC="../boot/idc -B../boot/ -O" BIN="../stage1/" ); done'
id
make[2]: Entering directory `/home/karl/osrc/languages/COLA-idst/object/id'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/karl/osrc/languages/COLA-idst/object/id'
st80
make[2]: Entering directory `/home/karl/osrc/languages/COLA-idst/object/st80'
../boot/idc -B../boot/ -O  -k -c _object.st -o ../stage1/_object.o

primitive error handling failed (0x686d28 (nil))
make[2]: *** [../stage1/_object.o] Error 1
make[2]: Leaving directory `/home/karl/osrc/languages/COLA-idst/object/st80'
idc
make[2]: Entering directory `/home/karl/osrc/languages/COLA-idst/object/idc</description>
    <dc:creator>Karl Robillard</dc:creator>
    <dc:date>2008-03-29T22:31:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/459">
    <title>( picoVerse-:( language ideas ) )</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/459</link>
    <description/>
    <dc:creator>Kjell Godo</dc:creator>
    <dc:date>2008-03-23T13:58:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/457">
    <title>S3 Registration - Now Open!</title>
    <link>http://comments.gmane.org/gmane.comp.lang.smalltalk.fonc/457</link>
    <description>Hello,

FYI:  Registration for S3 ( http://www.swa.hpi.uni-potsdam.de/s3/ )  
is now open.   Please consider joining us!

Cheers,
Kim


</description>
    <dc:creator>Kim Rose</dc:creator>
    <dc:date>2008-03-19T15:19:26</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.smalltalk.fonc">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.smalltalk.fonc</link>
  </textinput>
</rdf:RDF>
