I converted parts of rfc 5322 to the following:
grammarEmailAddress
^'addrspec <- localpart "@" domain
localpart <- dotatom / quotedstring /* obs-local-part */
domain <- dotatom / domainliteral /* obs-domain */
domainliteral <- [CFWS] "[" *([FWS] dtext) [FW
I copy-pasted the addr-spec grammar from rfc5322 and was converting it to
Xtreams format. One PITA was converting all the decimal values to hex e.g.
"%d97" -> "\x61". I wanted to extend the Xtream grammar to handle
"/d97". I extended PEGParserGenerator and PEGParserParser with the
following:
SmalltalkImage>>#isHeadless ?
> On 22 Jun 2016, at 23:57, Johan Fabry wrote:
>
> Hi all,
>
> I would like to know how to know if the image is running in headless mode. Is
> there an expression I can run in my code to establish that?
>
> TIA,
>
> --
> Does this mail seem too brief? Sorry for
MessageBrowser browse: (
(Symbol selectorTable
select: [ :s | s includesSubstring: #headless caseSensitive:
false ]
) flatCollect: [ :s | s implementors ] as: OrderedCollection
).
Best regards,
Henrik
-Original Message-
From: Pharo-users [mailto:pharo-us
Hi all,
I would like to know how to know if the image is running in headless mode. Is
there an expression I can run in my code to establish that?
TIA,
--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please
see http://emailcharter.org .
Johan Fabry - http://pleia
Documentation is always a problem.
I dont use Spec because I dont like it , but I use Morphic for my project
ChronosManager. I do some "styling" for example use different fonts for
different labels , different sizes , I format strings to time stamps and
even offer easy ways for user to change them
Hello everybody,
I have a question about the UI toolkits available for Pharo. I already
asked something about this on Slack, but since I saw that there was a
recent discussion about UI in the mailing list, I think this is a better
place to discuss the matter.
I am writing an application for
> Le 22 juin 2016 à 14:05, Valentin Ryckewaert
> a écrit :
>
> Hello everyone,
>
> i'm currently working on making Pharo able to manage if it writes on his
> files.I created a class which can define it, then I'm already able, for
> example, to define if Pharo writes on pharo.changes or not.
Hello everyone,
i'm currently working on making Pharo able to manage if it writes on his
files.I created a class which can define it, then I'm already able, for
example, to define if Pharo writes on pharo.changes or not.
The meaning of this is to make Pharo able to execute a script but without
b