Showing posts with label ruby. Show all posts
Showing posts with label ruby. Show all posts
Wednesday, August 15, 2007
ColourCode: 1.0 Released
I'm quite pleased to announce the release of version 1.0 of ColourCode. You can download and know more about it from the ColourCode homepage. Please leave your feedback and bugs in the comments
Thursday, August 09, 2007
ColourCode: Some thoughts about the future
Before I write about the possible future of ColourCode, let me get a few things out of the way. First today I fixed an extensionless file bug, and you can now force languages in ColourCode.
Now that thats out of the way, I was just thinking about how much interest I still have in ColourCode. I mean writing it was a lot of fun and gave me some new insights into design but I don't feel the same interest I had in parsing and analysing language files, that I had when I began ColourCode. Then it was a new challenge, now its really piling up and intruding in other plans I have. Also I am now officially in the 12th standard, which in India means a really tough exam at the end of the year, and a hundred other entrance tests. My computer time has dropped to just 1.5 hours a day, not enough to do everything. So this version of ColourCode will be the last for a long time ( atleast till the end of March ). I will continue fixing any bugs found, but there will be no new features. So please forgive me.
Thanks a lot for being a user of ColourCode, and check out my other projects.
Now that thats out of the way, I was just thinking about how much interest I still have in ColourCode. I mean writing it was a lot of fun and gave me some new insights into design but I don't feel the same interest I had in parsing and analysing language files, that I had when I began ColourCode. Then it was a new challenge, now its really piling up and intruding in other plans I have. Also I am now officially in the 12th standard, which in India means a really tough exam at the end of the year, and a hundred other entrance tests. My computer time has dropped to just 1.5 hours a day, not enough to do everything. So this version of ColourCode will be the last for a long time ( atleast till the end of March ). I will continue fixing any bugs found, but there will be no new features. So please forgive me.
Thanks a lot for being a user of ColourCode, and check out my other projects.
Tuesday, August 07, 2007
ColourCode: 1.0 almost done
ColourCode is done. It now has support for PHP and HTML which it didn't have before. Perl support will probably get in before the stable release. This version has been bumped to 1.0. I think I've made a really good project and that it deserves the 1.0 tag. PDF support will not enter the 1.0 release but is on track for 1.1.
All that is left now is testing some highly tweaked files. All the standard test files I've been using are passing well. Also I need to write some documentation about implementing custom language handlers and formatters.
You can download today's development build which fixed all known bugs - colourcode-20070807.tar.gz
Please leave your comments. For usage see the usage.html file under the docs folder.
All that is left now is testing some highly tweaked files. All the standard test files I've been using are passing well. Also I need to write some documentation about implementing custom language handlers and formatters.
You can download today's development build which fixed all known bugs - colourcode-20070807.tar.gz
Please leave your comments. For usage see the usage.html file under the docs folder.
Labels:
colourcode,
development,
program,
programming,
ruby
Monday, July 30, 2007
ColourCode:Updates
Language support
ColourCode now has support for C# and Javascript, completing support for the original language set. I'l be adding Perl and HTML soon enough.
Bugs
On the C based languages front there is a small logic error in the multiline comment system. I am currently trying to iron it out.
Snippet feature dropped
I've decided to drop the snippet feature since its not universal (doesn't make sense in PDF) and since CSS is now dynamically generated, giving the CSS data to the user and having him embed it will be quite annoying. So you can ofcourse embed the file in your HTML since its valid. You'll just need to remove the DOCTYPE declaration and the head section, move the style to your head and remove the end body and html tags. But its best if you just use the pages by themselves, perhaps linking to them.
Note: Nightly builds are now updated everyday at the homepage. So you can always check out the developments yourself.
Thursday, July 26, 2007
ColourCode: Almost done
In the last two days ColourCode has reached a stage where I can say that it is finally ready for release. Everything apart from implementing language handlers is done. PDF support might not be added. It all depends on how patient I am in releasing it. Meanwhile you can download a nightly build and view demos for Ruby and Python from the link above.
Friday, July 06, 2007
ColourCode: New ideas and old improvements
Now that TetraBlocks is done, its time to start working on the latest and greatest ColourCode release ever. Though the next version should be called 0.3, I might bump it up a few notches if everything works out as planned.
One of the major things I've been planning is to implement the Language Descriptors in Ruby itself rather than text files or XML. This would allow them to be more context sensitive and basically do more stuff to improve highlighting. For now this is just a vision, and I haven't really got around to even scribbling exactly what it's going to be.
Other improvements include:
One of the major things I've been planning is to implement the Language Descriptors in Ruby itself rather than text files or XML. This would allow them to be more context sensitive and basically do more stuff to improve highlighting. For now this is just a vision, and I haven't really got around to even scribbling exactly what it's going to be.
Other improvements include:
- Support for highlighting multiple files at once, or a complete directory
- Using the optparse module to parse command line arguments
- Decoupling of the actual highlighting code and the interface code so that ColourCode can be used as a library
- Change the colour map from CSS to a format independent one
- HTML line numbers are generated using an ordered list.
- Add support for more languages.
Thursday, April 19, 2007
ColourCode got DZoned
My syntax highlighting program, ColourCode, has been submitted to DZone.
Its amazing when a 16 year old's crap app get posted there.
Thanks a lot Satish Talim of Learning Ruby.
Its amazing when a 16 year old's crap app get posted there.
Thanks a lot Satish Talim of Learning Ruby.
Saturday, February 03, 2007
Colourcode 0.2 released
ColourCode 0.2 has been released.
In addition to the features mentioned in the previous post it now supports C# and Shellscript and Javascript.
Check it out at the ColourCode homepage
In addition to the features mentioned in the previous post it now supports C# and Shellscript and Javascript.
Check it out at the ColourCode homepage
Sunday, January 28, 2007
Colourcode 0.2 nearing release
I am quite pleased to announce that ColourCode 0.2 on which I have been working for the last week is nearing release.
0.2 has the following features over 0.1
Also there will be support for more languages
0.2 has the following features over 0.1
- support for multiline comments , also when they are embedded inline
- optionally printing line numbers
- Support for quote escapes in strings when a backslash precedes it
Also there will be support for more languages
Wednesday, January 03, 2007
ColourCode 0.1beta released
I am pleased to announce the release of version 0.1beta of ColourCode. ColourCode is a Ruby program to generate syntax highlighted HTML files. Currently it supports HTML, Java, C++, Ruby and Python. For more information and (not)features see the ColourCode homepage
Labels:
colourcode,
development,
program,
programming,
ruby
Saturday, December 30, 2006
Initial ColourCode Success
As I mentioned in a previous post, I am working on a Ruby generic syntax highlighter. Well today it had its first measure of success by producing this HTML:
It is buggy as can be seen from the mess up near the end, and write now I haven't chosen the best colours nor a complete correct language definition for Ruby or any other language, but the major part is done.
It is buggy as can be seen from the mess up near the end, and write now I haven't chosen the best colours nor a complete correct language definition for Ruby or any other language, but the major part is done.
Sunday, November 05, 2006
Learning
I have decided to take a break from creating software to learning some new things for a few days. So I have started learning Ruby, advanced JavaScript which I didn't know before, especially DOM scripting and Ajax. And I am also reading Beginning Algorithms which is a really good book for an introduction to algorithms in a easy to understand concrete way. That said I am starting to like Ruby and feel the same enjoyment that is felt when coding in Python. I have not entirely abandoned projects though. They are on the drawing board and in the design process.
School begins from tomorrow after three weeks of Diwali vacations and we have lots of exams coming up which will severely curtail my computer time. I will be freed only in the second week of December when preparations for the school Sports Day begins and studies take a backseat.
This is the last day of enjoyment so I go of to enjoy...
School begins from tomorrow after three weeks of Diwali vacations and we have lots of exams coming up which will severely curtail my computer time. I will be freed only in the second week of December when preparations for the school Sports Day begins and studies take a backseat.
This is the last day of enjoyment so I go of to enjoy...
Subscribe to:
Posts (Atom)