OK, I'll re-generate it. By "I get the options", do you mean I should add options on command line to deal specify how much indent to use (number of space, space vs. tab) ?
Seb 2009/3/17 Sunish Issac <[email protected]> > If jallibwin.exe contains it all and I get the options, life would be > easier for me to provide a GUI for it. > > Sunish > > On Tue, Mar 17, 2009 at 12:14 PM, Sebastien Lelong < > [email protected]> wrote: > >> Hi Sunish, >> >> You can include it in jalpack, there's already a win executable for >> jallib.py, named jallibwin.exe (out of date, I need generate it again). All >> included (read: python included). I used pyinstaller to do this, works quite >> nice, but maybe you have better tools to that. >> >> jallib.py is a "battery included" script: no library, everything is in the >> script. This is to avoid deployment issue (having a setup.py, or setting >> PYTHONPATH, etc...), and ease its use. As a consequence, the executable is >> quite big. Mainly, it includes some SVN and YAML libs, used to deal with the >> testing matrix (yeah, the testing matrix). This feature is not used, I could >> clean the script so it's more lightweight. >> >> That's said, there are other feature this script can do, one being >> generating sample from board + test files (see >> http://code.google.com/p/jallib/wiki/jallib_testing, thanks Joep for this >> page !). I was thinking about adding some kind of a questionnaire to ask: >> which PIC do you use, where do you expect to connect LEDs ? LCD ? i2c ? >> serial ? etc... according to sections defined in board files, and then >> generate all available (and compilable) samples for this user specific >> setup. Maybe that can be done in jaledit, but I wouldn't want this feature >> to be windows-only. I talked about a web interface, but maybe one good >> option would to put it in the jallib.py script, and jaledit to interface it. >> >> Anyway, what I mean is there are probably other things that could also be >> included if you want, and be valuable for end-user. Or not... :) >> >> >> Cheers, >> Seb >> >> >>> Yes that's exactly what I meant. I tried your script and it works >>> reasonably well. I can convert the script to an executable and include it in >>> the JALPackwin32. If possible I would also make an interface to do auto >>> indentation within the IDE by calling the execuatble. That's of great value >>> I think. I'm also considering the option to ask my permission to bundle >>> jaledit with books and other packs :-) after adding this feature. >>> >>> Also other usefull scripts can also be included with the win32 distro >>> after converting those to exes, the advantage for the end user is that they >>> need not install python just to run the scripts. >>> >>> Sunish >>> >>> >>> >>> On Sun, Mar 15, 2009 at 8:11 PM, Sebastien Lelong < >>> [email protected]> wrote: >>> >>>> What do you mean by formatter ? If related, the jallib.py script can >>>> handle indentation: >>>> >>>> python jallib.py reindent <your_file_not_correctly_indented> >>>> >>>> >>>> Seb >>>> >>>> Hello Everybody, >>>>> >>>>> Is there a jal source formatter that anybody knows of. How about >>>>> creating one that complies with jallib ? >>>>> >>>>> Sunish >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Sébastien Lelong >>>> http://www.sirloon.net >>>> http://sirbot.org >>>> >>>> >>>> >>> >>> >>> >> >> >> -- >> Sébastien Lelong >> http://www.sirloon.net >> http://sirbot.org >> >> >> > > > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" 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/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
