The SWAG Pascal Archive
Way back in 1997 the old SWAG archive of Pascal code was closed down. There have been a few attempts to resurrect it over the years, with a HTML version being released in 2003. Unfortunately some of the mirrors have now been closed down.
Never heard of SWAG? Well this is what the original authors said about it:
SWAG is a collection of source code and program examples for the PASCAL programming language. The material has been donated by various PASCAL programmers from around the world ... SWAG packets are available in 57 different categories covering EVERY aspect of the PASCAL language ... SWAG is intended to be a teaching and learning aid for users of the PASCAL language. Whether you are a beginner or experienced programmer, you'll find SWAG to be an invaluable source of ideas and information.
After some discussion with a couple of Delphi & Pascal coders it would seem there's still some interest in preserving the archive in the hope it might be useful to others.
Anyhow, whether it's useful or not, I've now mirrored SWAG on delphidabbler.com.
I decided to go a little further than simply mirroring the original HTML version of the arhive: there are three ways of accessing SWAG:
- I've created a jQuery based web application at swag.delphidabbler.com where you can view the archive by category.
- You can access SWAG from your own program and web sites using a REST API. For more info see the API Docs.
- You can just download the original HTML archive as a 7z file from http://swag.delphidabbler.com/download/webswag.7z (about 18Mb).
If you've time to check the web app I'd be grateful for comments. I do intend to add syntax highlighting, but that's about all unless anyone suggests anything else.
Finally, I'm currently working on adding a feature to my CodeSnip to enable it to import code from SWAG into its code bank.
Comments
Post a Comment
Comments are very welcome, but please don't comment here if:
1) You have a query about, or a bug report for, one of my programs or libraries. Most of my posts contain a link to the relevant repository where there will be an issue tracker you can use.
2) You have a query about any 3rd party programs I feature, please address them to the developer(s) - there will be a link in the post.
3) You're one of the tiny, tiny minority who are aggressive or abusive - in the bin you go and reported you will be!
Thanks