] On Behalf Of
nathan binkert
Sent: Monday, August 03, 2009 9:46 PM
To: M5 Developer List
Subject: Re: [m5-dev] Python SLICC
The initial step is to simply translate the C++ code to python. I
plan to change nothing about the AST structure or anything like that.
The end result should be files that can
, August 03, 2009 9:46 PM
To: M5 Developer List
Subject: Re: [m5-dev] Python SLICC
The initial step is to simply translate the C++ code to python. I
plan to change nothing about the AST structure or anything like that.
The end result should be files that can be diffed, though will likely
need
I hope you don't mind me asking, but why does the fragility of generated code
matter? One should never modify generated code and only rarely look at it.
I'm referring to the generator itself. It's pretty hard to follow
what's going on, so if you want to modify the generator itself, you
need
On Tue, Aug 4, 2009 at 10:46 AM, nathan binkertn...@binkert.org wrote:
I hope you don't mind me asking, but why does the fragility of generated
code matter? One should never modify generated code and only rarely look at
it.
I'm referring to the generator itself. It's pretty hard to follow
Just an FYI, I'm currently making changes to both the parser and code
generator. I should be able to push those today if you want to hold
off on the conversion.
Ok, no problem. Let me know if you need any help updating parser.py.
Also, for those of you SLICC experts out there, I'm curious
] On Behalf Of
nathan binkert
Sent: Tuesday, August 04, 2009 9:20 AM
To: M5 Developer List
Subject: Re: [m5-dev] Python SLICC
Just an FYI, I'm currently making changes to both the parser and code
generator. I should be able to push those today if you want to hold
off on the conversion.
Ok
So, maybe I'm crazy, but a whole bunch of things got me convinced to
started converting SLICC to python. Before I go way too far, I want
to see if any of the Wisc have any objections to this.
Here are what I see as the benefits:
1) Use python's powerful formatting function + triple quoted
, August 03, 2009 8:29 PM
To: M5 Developer List
Subject: [m5-dev] Python SLICC
So, maybe I'm crazy, but a whole bunch of things got me convinced to
started converting SLICC to python. Before I go way too far, I want
to see if any of the Wisc have any objections to this.
Here are what I see
03, 2009 8:29 PM
To: M5 Developer List
Subject: [m5-dev] Python SLICC
So, maybe I'm crazy, but a whole bunch of things got me convinced to
started converting SLICC to python. Before I go way too far, I want
to see if any of the Wisc have any objections to this.
Here are what I see