I have the problem with the dropped newline in lists too. You can hit a
space with the newline to avoid the dropping. If you find the right
Sanner/Parser definitions please let me know.
I don't have the problem with the stars or square brackets.
I had also Problems using the SmaCC Development for <=3.8 (10). The
Smallwiki Parser seems to be created with an older version. I then used
SmaCC Development for <=3.8 (1.4) and SmaCC Runtime (4) without errors.
John Borden schrieb:
I tried the same thing in SW1, and it removed smilies alright, but
then there were other problems.
First the parser tests failed - When you had a page like:
# list 1, item 1
# list 1, item 2
#list 2, item 1
This would get converted into:
1. list 1, item 1
2. list 1, item 2
3. list 2, item 1
(the newline gets dropped. Additionally, if you had a line with a
single astrisks in it, like:
page with single * start
After you edited the page the second time, it would be:
page with single \* start
which seemed like a little reminder to escape it. If you simply saved
the page again, it display with the backslash. The same can be done
with square brackets under the right circumstances.
Next I thought it was surely a type on my part, so I got a clean SW1
image and loaded SmaCC Development for <=3.8 (10) again, and then
compiled the LALR(1) parser again without any change. All of the
above problems still occurred (as well as the forsaken smilies). What
version of SmaCC was used in Smallwiki? Was any code added after the
classes were built?
On Wednesday, August 31, 2005, at 09:25 AM, Thomas Fröb wrote:
> Thomas Fröb wrote:
>> I use the latest version of SmallWiki 1 from SqueakLand.
>> Is there a possiblity to disable the smileys in SmallWiki 1?
>> I need to load some Data from outside the Wiki and I get parse
>> errors when there are smileys in headlines.
>> Besides: In the current SmaCC Runtime ( version 4 ) from SqueakMap
>> the SmaCCParserError has no method "parameter". So you may use
> ok, I've got it. Now I now (at least a bit) how to use the
> SmaCCParserGenerator ;)