URL parser/URI parser ALGOL68: Difference between revisions

(lang -> syntaxhighlight)
 
Line 1:
==ALGOL 68 URI Parser==
This is a URI parser implemented in Algol 68. The text can be cut-and-paste into an Algol 68 program or saved in a file and included in another program by using the read pragma available in Algol 68, e.g.:
<syntaxhighlight lang="algol">
<lang algol68>PR read "uriParser.a68" PR
URI u := parse uri( "fred://harry@wombat.com" );
...</lang>
</syntaxhighlight>
 
==[[Algol 68]]==