Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.333.267 Times

sourcecodegen 0.6.13

Company: Malthe Borch
Date Added: September 08, 2013  |  Visits: 235

sourcecodegen

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



sourcecodegen is a Python library that provides a module-level source-code generator which operates on the AST from the built-in compiler.ast module.<br /><br />Note that this AST is not compatible with the new ast module in Python 2.6.<br /><br />Usage:<br /><br />The generator works on AST parse trees.<br /><br /> >>> from compiler import parse<br /> >>> tree = parse("""<br /> ... print 'Hello, world!'<br /> ... """)<br /><br />We can now generate Python-code equivalent to the original using the source-code generator.<br /><br /> >>> from sourcecodegen import ModuleSourceCodeGenerator<br /> >>> generator = ModuleSourceCodeGenerator(tree)<br /> >>> print generator.getSourceCode()<br /> print 'Hello, world!'<br />

Requirements: No special requirements
Platforms: Mac, Mac OSX
Keyword: Builtin Compatible Compilerast Generator Module Modulelevel Modulenote Operates Package Python Sourcecode
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


SOURCECODEGEN RELATED
Modules  -  Meta Tag generator module 1.3.4
This generator generates the description (Description) and references (Keywords) for the Meta tags on push of a button from a contribution.With a Button directly within the administration range under tab "Meta info." is it easy to reach and...
 
Modules  -  Module package 7.x-1.0-beta1
This module alters the modules' package information used to group the modules in the modules page.It doesn't change the content of the .info files used by projects; therefore, it doesn't require you change the settings each time a new release is...
10 KB  
Modules  -  Fullname field for CCK 1.0
Features - multiple field works - Compatible with diff module. - Compatible with token module. - prefix and suffix fields. - support for legal and preferred names in one field - customizable REQUIREments - whole name, individual fields, or...
 
Communication Tools  -  BinkleyTerm XE 7
BinkleyTerm is a freely available FidoNet compatible electronic mail interface and dumb terminal package. This means it's aprogram for receiving and sending mail and files within FidoNet or other Fido Technology Networks
355.18 KB  
Programming  -  guidata 1.2.5
Based on the Qt Python binding module PyQt4, guidata is a Python library generating graphical user interfaces for easy dataset editing and display. It also provides helpers and application development tools for PyQt4.
369.24 KB  
Text Editors  -  PTML 0.4.0
PTML is a Python module which lets you embed Python code in text documents. Its most common application is dynamic content generation on web servers, however it can be used anywhere you need to generate text files on-the-fly. The...
40.96 KB  
Libraries  -  SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. SYNOPSIS use SQL::Generator; With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of...
13.31 KB  
Libraries  -  App::Modular::Module::Events 0.1.2
App::Modular::Module::Events is a Perl module with event handling for App::Modular compatible applications. SYNOPSIS #################################################################### package App::Modular::Module::Me; use base...
16.38 KB  
Modules  -  Special menu items module 7.x-1.0
Special menu items is a Drupal module that provides placeholder and separator menu items.A placeholder is a menu item which is not a link. It is useful with dynamic drop down menus where we want to have a parent menu item which is not linking to a...
10 KB  
Libraries  -  Module::Install 0.64
Module::Install is a standalone, extensible Perl module installer. SYNOPSIS In your Makefile.PL: (Recommended Usage) # Load the Module::Install bundled in ./inc/ use inc::Module::Install; # Define metadata name Your-Module; all_from...
79.87 KB  
NEW DOWNLOADS IN MACINTOSH SOFTWARE, PROGRAMMING
Macintosh Software  -  EasyEDA PCB Designer for MacOS 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Macintosh Software  -  VideoSolo Video to GIF Converter (Mac) 1.0.12
How to make a GIF? VideoSolo Free Video to GIF Converter for Mac supports all popular video files including MP4, AVI, MOV, WMV, FLV, M4V, etc. You can easily turn MP4/AVI/MOV/WMV/FLV/M4V to GIF animation on Mac and share your GIFs with your...
46.51 MB  
Macintosh Software  -  VideoSolo Free Video Converter (Mac) 1.0.18
VideoSolo Free Video Converter for Mac is a fast, powerful and easy-to-master video converter. Its main purpose is to convert video files from one format into another. It is able to convert video and audio files in 300+ formats on Mac for totally...
75.29 MB  
Macintosh Software  -  ManyCam for Mac 6
ManyCam is a free Webcam software and a screen recorder for anyone to use. Several feature enhancements are included within ManyCam to produce a professional quality live video production. It can connect a desktop, smartphone, tablet and live...
90.49 MB  
Macintosh Software  -  MacX Free Rip DVD to QuickTime for Mac 4.1.9
MacX Free Rip DVD to QuickTime for Mac is totally free yet versatile DVD to QuickTime ripper software for Mac users to free rip both normal and copy-protected DVDs to QuickTime MOV, MP4 on Mac with excellent image quality. Besides the powerful...
36.3 MB  
Programming  -  MacX Free iMovie Video Converter 4.1.8
MacX Free iMovie Video Converter is a professional free iMovie video converter for Mac that can convert any SD and HD videos such as M2TS, MKV, AVI, WMV, FLV, VOB, 3GP and more to iMovie accepted video formats MOV & MP4 for importing to iMovie...
22.92 MB  
Programming  -  SwapList 0.1 Alpha
Java list implementation that swaps list items to a disk file in order to avoid out-of-memory error.
10.24 KB  
Programming  -  Mano 1.05 Beta
Mano is a makeFile navigator containing a tree grouping the targets.
20.48 KB  
Programming  -  Workhorse 1.2
Workhorse automates tedious file transfer and deletion tasks. Just tell it when or how often you want it to run, fill in the details, and let it do it's job! Do you know Applescript? Use Workhorse to run your scripts at a given time or interval....
225.28 KB  
Programming  -  PLT Scheme (formerly DrScheme) Darwin (PPC) 4.2
PLT Scheme is an interactive, integrated, graphical programming environment for the Scheme, MzScheme, and MrEd programming languages. PLT Scheme provides source highlighting for syntax and run-time errors, support for multiple language...
38.27 MB