Yowch, this is a tough question to answer. :) Firstly, I hope it goes without saying that you are more than welcome to take as much bpython code as you like and use it in your project - it's MIT licensed because we like sharing.
So, here is my best guess answer to your question: since we have different front-ends (ncurses, gtk+, urwid - the latter two are not complete but do work) it seems to me that you could write a front-end yourself that would be completely independent of ncurses. What this means is that you would be porting bpython to iPhone, so I'm not sure if this is your real goal here. Perhaps this would be a good base for you to build your application on ... either way, feel free to ask more specific questions as you go through the codebase and we'll do our best to answer (we don't really do any work on the codebase any more so answering questions makes us feel like we are still working on the project :-) Good luck with your project ! On 18 September 2011 17:49, Terry <[email protected]> wrote: > I am the author of Python Math, a Python 2.7 interpreter for the > iPhone/iPad that does nor require jail breaking. > > I would like to add auto-complete and syntax highlighting to the > interpreter as well as a script editor that provides these > capabilities. > > Since there are limited resources (both my time and memory in the > iPhone/iPad are limited), I'm looking for a light weight solution. > Porting a big framework such as wxWidgets, GTK+, or Qt just isn't > practical. > > When I discovered bpython, I became hopeful this might be a solution. > Would anyone care to comment on the feasibility of either replacing > curses in bpython or adapting the bpython autocomplete and syntax > highlighting? > > I'm willing to evaluate the use of any combination of python, C, and > Objective-C to get this working. > > Thanks. > > --Terry > > -- > You received this message because you are subscribed to the Google Groups > "bpython" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/bpython?hl=en. > > -- You received this message because you are subscribed to the Google Groups "bpython" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/bpython?hl=en.
