Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'interpreter': 0.05; 'automate': 0.07; 'interpreter.': 0.07; '32-bit': 0.09; 'executable': 0.09; 'imported': 0.09; 'oh,': 0.09; 'output,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripting': 0.09; 'tcl/tk': 0.09; 'windows,': 0.09; 'windows': 0.15; '(note': 0.16; 'micros': 0.16; 'modules,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spawn': 0.16; 'stuff.': 0.16; 'subject:Language': 0.16; 'tasks,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'file,': 0.19; 'python?': 0.22; 'header:User-Agent:1': 0.23; 'source': 0.25; 'script': 0.25; '(for': 0.26; 'asking': 0.27; 'certain': 0.27; 'developing': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'work.': 0.31; 'minor': 0.31; 'file': 0.32; 'selection': 0.32; 'supposed': 0.32; 'run': 0.32; 'text': 0.33; 'could': 0.34; 'etc.)': 0.35; 'but': 0.35; 'add': 0.35; 'consist': 0.36; 'doubt': 0.36; 'subject:?': 0.36; 'expected': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'embedded': 0.39; 'generating': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'easy': 0.60; 'above,': 0.60; 'commands': 0.60; 'preparation': 0.60; "you're": 0.61; 'capability': 0.84; 'capture': 0.91; 'subject:Best': 0.91; 'subject:Work': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Best Scripting Language for Embedded Work? Date: Tue, 09 Jul 2013 21:44:48 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 174.32.174.33 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373420706 news.xs4all.nl 15941 [2001:888:2000:d::a6]:45849 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50290 On 07/09/2013 09:29 PM, David T. Ashley wrote: > We develop embedded software for 32-bit micros using Windows as the > development platform. > > We are seeking a general purpose scripting language to automate > certain tasks, like cleaning out certain directories of certain types > of files in preparation for ZIP'ing, generating certain source files > automatically, etc. > > Selection criteria: > > a)Should be able to compile the script interpreter as a monolithic > executable (no .DLL dependencies, etc.) for easy versioning and > distribution of the script interpreter. Oh, I thought you were going to run this on Windows. You're just developing it on Windows, and you want to cross-compile to target some other platform? Which? > (Note that I'm not asking > that the script be a single executable, just the interpreter. To run > a script you'd need both the script and the interpreter. The script > would be a text file, and the interpreter would be a single .EXE.) If you're also constraining your "program" to a single text file, you don't want Python. It uses modules, imported from your script to do much of the work. > > b)Should be extensible, in that one could add commands or library > functions to the script interpreter in C (for efficiency), and the > whole script interpreter could again consist of a single executable > with no other dependencies. (Note that I'm not asking that the script > be a single executable, just the interpreter. To run a script you'd > need both the script and the interpreter. The script would be a text > file, and the interpreter would be a single .EXE.) And that's supposed to HELP efficiency?? > > c)Should be able to spawn compilers and capture the output, do file > I/O, and all the other minor expected stuff. > > d)Graphical capability would be nice. > > I know that Tcl/Tk would do all of the above, I doubt it. > but what about Python? > Any other alternatives? -- DaveA