Flex 3 “Moxie” sneak peeks

efectos similares ala viagra Flex 3Ted Patrick is publishing screenschots of the upcoming new Flex 3 besides with the description of some of the new features.. go site With the code refactoring, probably the most interesting new things in Flex 3 are the profiler and the CSS design view.

http://www.osteriaripasso.it/homework-help-louisiana/ homework help louisiana

http://www.alamanauae.com/help-with-business-finance-homework/ help with business finance homework Check out all the new features on Ted’s blog: how did hitler and stalin use propaganda http://www.onflex.org/…/flex-3-tuesday-code-enhancements.php

http://www.forgiveengland.com/phd-thesis-earthquake-engineering/ phd thesis earthquake engineering

An experience with antlr, java and python

community service essay student essays summary I just wanted to share a little experience with generating an AS3 parser using antlr and python. http://www.fiascoultimate.com/personal-experience-essay/ I was trying first to create the parser using GNU Flex and Bison in C, probably the best way for a very performancing parser. http://rest-cor.org/?philosophy-papers-term-papers philosophy papers term papers Yeah, that’s right.. but looking at the antlr syntax I realized that’s easier and easier. http://www.jadecoastjewelry.com/geology-phd-thesis/ Moreover I start using this very useful eclipse plugin for antlr debugging which made my life easier!

http://tahupac.org/help-with-writing-a-college-paper/ help with writing a college paper

http://www.csq.cz/?need-help-writing-a-paper need help writing a paper The grammar file I created is a compromise between the asdt grammar file and the ECMA-262 grammar specification.

essay writing ppt presentation

cheap online price price viagra Once finished working on my eclipse project I’ve managed to parse succesfully all the adobe corelibs files using this java test file:

dissertation abstracts online citation
package org.sepy.core.parsers.as3;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import antlr.CommonAST;
import antlr.RecognitionException;
import antlr.TokenStreamException;
public class Application {
public static void main(String argv[])
{
if(argv.length > 0)
{
File file = new File(argv[0]);
if(file.exists())
{
FileInputStream is = null;
try {
is = new FileInputStream(file);
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
AS3Lexer L = new AS3Lexer(is);
AS3Parser P = new AS3Parser(L);
try {
P.compilationUnit();
} catch (RecognitionException e) {
// TODO Auto-generated catch block
System.out.println(" line=" + e.line + ", column="+ e.column);
System.out.println(e.getMessage());
e.printStackTrace(System.err);
} catch (TokenStreamException e) {
// TODO Auto-generated catch block
System.out.println(" line=" + L.getLine() + ", column="+ L.getColumn());
System.out.println(L.getGuessInfo());
System.out.println(e.getMessage());
e.printStackTrace(System.err);
}
CommonAST.setVerboseStringConversion(false, P.getTokenNames());
CommonAST ast = (CommonAST) P.getAST();
System.out.println("Tree:");
System.out.println(ast.toStringTree());
}
}
}
}

http://gccwines.com/essay-writing-ks2/ essay writing ks2 Ok, done that I decided to export the grammar file for python (thanks to antrl python export feature).
Everything works fine also for python, but I realized that the python script were so much slower than the java one!

do my assiment paper for me online
1
2
3
4
5
6
7
8
9
10
11
12
import sys
import antlr
import AS3Parser
import AS3Lexer
L = AS3Lexer.Lexer(filename);
P = AS3Parser.Parser(L);
P.setFilename(filename)
try:
   P.compilationUnit();
   ast = P.getAST();
except:
   pass

On a 75Kb actionscript file the python script took about 7 seconds to run, while the java application only 2 seconds. I know python interpreter caould be slower than many other languages, but I never thought so much slower.
So I run the python hotshot profiler to see which could be the bottleneck in the python script and I found most of the problems were due to unuseless antlr (the python module) method’s calls.
After making corrections to the antlr.py file the same script took exactly half of the time. Now 3 seconds. Wow 🙂
But not fast enough.
So I enabled for the antlr python script psyco module and this time the same script took my culture essay only 1.6 seconds.
Now the python script is fast enough, even if I’m sure I can make more optimizations in the antlr module…

go

Debugging PHP with XDebug

http://www.gokcentunc.com/writing-an-resume/ writing an resume In these days, working with PHP after a lot of time, I’ve installed this cool tool for debugging PHP (it supports both PHP 4 and 5).
XDebug is really useful for debugging PHP, which is usually not really easy to debug, and also easy to install.
It provides a lot of valuable debug informations, for example a full traceback for errors, profilig with memory and CPU usage, profiling functions , etc..
I really suggest to take a look at it!
Both Windows and Linux versions are available for download
http://www.xdebug.org

http://www.pessebremoviment.com/can-t-do-my-essay/ can t do my essay