Hi,
On 16 March 2015 at 12:01, anatoly techtonik wrote:
> Yes, but developing a new language in RPython requires choosing a
> parser first, no?
No. Some of RPython's interpreters are only interpreters, without any
parser. I'm not saying yours must be too, but in general we tend not
to be too i
On Mon, Mar 16, 2015 at 1:58 PM, Maciej Fijalkowski wrote:
> On Mon, Mar 16, 2015 at 12:49 PM, anatoly techtonik
> wrote:
>> On Tue, Mar 10, 2015 at 1:32 PM, Amaury Forgeot d'Arc
>> wrote:
>>> 2015-03-09 19:43 GMT+01:00 anatoly techtonik :
I'll start from afar, so that it will be easi
On Mon, Mar 16, 2015 at 12:49 PM, anatoly techtonik wrote:
> On Tue, Mar 10, 2015 at 1:32 PM, Amaury Forgeot d'Arc
> wrote:
>> 2015-03-09 19:43 GMT+01:00 anatoly techtonik :
>>>
>>> I'll start from afar, so that it will be easier to understand what I
>>> am thinking about..
>>>
>>> CFFI uses pycp
On Tue, Mar 10, 2015 at 1:32 PM, Amaury Forgeot d'Arc
wrote:
> 2015-03-09 19:43 GMT+01:00 anatoly techtonik :
>>
>> I'll start from afar, so that it will be easier to understand what I
>> am thinking about..
>>
>> CFFI uses pycparser, which parses C files, but! uses C compiler
>> to strip comments
Pycparser doesn't use the C compiler to strip comments; it uses the C
*preprocessor*.
Even without comments, it'd probably need the C preprocessor anyway for
things like macros and includes.
On Mon, Mar 9, 2015 at 1:43 PM, anatoly techtonik
wrote:
> I'll start from afar, so that it will be easi
Hi Anatoly,
2015-03-09 19:43 GMT+01:00 anatoly techtonik :
> I'll start from afar, so that it will be easier to understand what I
> am thinking about..
>
> CFFI uses pycparser, which parses C files, but! uses C compiler
> to strip comments from C files and process defines, but almost
> all .c fil
I'll start from afar, so that it will be easier to understand what I
am thinking about..
CFFI uses pycparser, which parses C files, but! uses C compiler
to strip comments from C files and process defines, but almost
all .c files contain comments, so pycparser is basically useless
as a parser, but