Google Application : Code Formatting Service Example

mikechambers April 8th, 2008

I was lucky enough to get an invite to the new Google Application service beta, and have been playing around with it.

I just put together a simple code formatting service application. This provides an html and web service for formatting / beautifying code.

You can find complete details on the about page for the service.

I will post the source in the next day or two.

Post any comments, questions, bugs or suggestions in the comments.

Update : I just uploaded the source to the app, which you can grab from the about page.

12 Responses to “Google Application : Code Formatting Service Example”

  1. Timon 08 Apr 2008 at 3:43 pm

    One bug would be that the links do not work. And possibly that they are both the same non-working link.

  2. mikechamberson 08 Apr 2008 at 10:13 pm

    What link isnt working for you?

    mike chambers

    mesh@adobe.com

  3. injun #576871on 08 Apr 2008 at 10:18 pm

    Mike, thank you!
    PS: can you add cf syntax?

  4. mikechamberson 08 Apr 2008 at 10:30 pm

    I cant add it, but someone can:

    http://pygments.org/docs/lexerdevelopment/
    http://pygments.org/docs/formatterdevelopment/

    mike chambers

    mesh@adobe.com

  5. savvasmalamason 09 Apr 2008 at 6:04 am

    This is cool!
    Is there any chance to format MXML to or even better a combination of the 2?

  6. Timon 09 Apr 2008 at 7:19 am

    They’re working now. Sorry about that.

  7. mikechamberson 09 Apr 2008 at 7:46 am

    >Is there any chance to format MXML to or even better a combination of the 2?

    Yes, but someone will have to write the parsers.

    http://pygments.org/docs/lexerdevelopment/
    http://pygments.org/docs/formatterdevelopment/

    Right now, you could probably use the XML formatter for MXML.

    mike chambers

    mesh@adobe.com

  8. Mark Murphyon 09 Apr 2008 at 1:55 pm

    This points out something interesting about App Engine that hadn’t dawned on me until now.

    I had focused on the zero-cost basic service as being a nice way to gracefully bootstrap some business idea.

    But what you’ve pointed out here is that now it’s easier to make “freeware” Web services the same way one can freely distribute open source software. You don’t have to worry much about availability, getting Slashdotted, or any of the other headaches that might cause you to skip hosting some service you might otherwise put up that you don’t really expect to make money on.

    Unless you were planning on starting to charge for your source code formatting service… ;-)

  9. Anonymouson 14 Apr 2008 at 1:25 pm

    Hello Mike,

    this is a little bit offtopic. I don’t really know how to contact Adobe in this matter, so I want to give it a try here.

    I have found out that Scientology is heavily using Adobe Flash to advertise their cult. One example is http://www.scientology.org Scientology is not a religion, but a big money-machine that manipulates people. Please investigate current protests against Scientology around the world. A good start is searching YouTube for the term “anonymous”.

    I want to ask Adobe to break all business relations to Scientology. It does not go along with Adobe’s ethics and values, which I highly respect. PLEASE pass on. Thanks.

    Anonymous.

  10. Sanderon 15 Apr 2008 at 3:35 pm

    I saw Lee Brimelows calendar on screen during his presentation on the OnAir tour in Amsterdam.
    If I saw it correctly I have to say “Happy Birthday” today :)

  11. Adrian Parkeron 01 May 2008 at 1:39 am

    Hi Mike

    tried the code formatting service with some AS3 that had a bunch of tabs, some missing, some not, generally messy code.

    Post run through, its still messy, just not so much.

    Any update on open sourcing the codeso I could maybe take a stab at fixing this?

    thanks!
    Adrian

  12. mikechamberson 01 May 2008 at 9:18 am

    >Any update on open sourcing the codeso I could maybe take a stab at fixing this?

    I just uploaded it and updated the post with the info.

    mike chambers

    mesh@adobe.com

Trackback URI | Comments RSS

Leave a Reply