jmmcd / ponyge Goto Github PK
View Code? Open in Web Editor NEWPonyGE: grammatical evolution (GE) in one file. Unmaintained. Please see https://www.github.com/ponyge/PonyGE2.
PonyGE: grammatical evolution (GE) in one file. Unmaintained. Please see https://www.github.com/ponyge/PonyGE2.
* The default problem encoded in ponyge.py is XOR, but the readme file states
it is word matching.
* The readme file states ./ponyge.py to execute the code, but it is actually
located in the src/ directory.
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 3:48
The GUI uses exception handling to try to import Tkinter
, as the module can be named Tkinter
or tkinter
. A similar check should be implemented for the idlelib
imports as a few things seem to have changed in the most recent versions of idlelib
.
In Python 2.x, all module names are correct as currently implemented in the GUI:
from idlelib.Percolator import Percolator
from idlelib.ColorDelegator import ColorDelegator
from idlelib.textView import view_file
However, in Python 3.x some changes have been made. Module names are no longer capitalised, and the idlelib.ColorDelegator
module has been re-named. An alternative implementation similar to the tkinter
case above should be:
from idlelib.percolator import Percolator
from idlelib.colorizer import ColorDelegator
from idlelib.textview import view_file
All of the above means that the GUI does not run any more in Python 3.x.
What steps will reproduce the problem?
1. ./start-lsystem.py
2.
3.
What is the expected output? What do you see instead?
GUI should launch. Instead, a message saying that python3 isn't installed is
seen.
What version of the product are you using? On what operating system?
I'm using python2.7 .
Please provide any additional information below.
By changing python3 to python on top of gui.py, the problem is solved.
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 3:46
What steps will reproduce the problem?
1. Run P Systems
2. Start Selecting Items
3. Items wont select as desired
What is the expected output? What do you see instead?
Program runs just selecting items doesn't work
What version of the product are you using? On what operating system?
v1.5
OSX running newest python
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 7 May 2012 at 12:38
What steps will reproduce the problem?
1. Launch lsystems example;
2. Click on what would be the 10th, 11th or 12th squares;
3.
What is the expected output? What do you see instead?
Should just ignore the click. Instead terminal output claims selection was
made, and interface freezes.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 6:00
It is not executable by default.
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 3:49
Starts to address the issue of not allowing < or > comparison operators in the
grammar. Also fixes a bug that would allow spaces in non-terminal symbols.
<[^\ <]+?>
This matches all non-terminal symbols. Shortest possible string (at least size
of one) of non-space and non < chars surrounded by <>
<[^<]*
This matches all chars/terminal symbols starting from a < up until we hit
another <
[^<]*
This matches all chars/terminal symbols up until reading a <
The side effect of this is that terminal symbols are cut before < characters.
So a string of "a<b" will give you a terminal set of {a, <b}.
Have you grammar reading tests to run on this to ensure I've not broken
anything else?
And are any of you better than me at regular expressions? It really shouldn't
be too difficult to improve/beat.
Original issue reported on code.google.com by [email protected]
on 10 Aug 2012 at 5:54
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.