Snippet Library

Browse | Submit A New Snippet | Create A Package

Snippets by category: HTML Manipulation

Snippet ID Title Creator
Packages Of Snippets
16Janiva LibraryJean Alfian
Janiva Library for html manipulation
1'Thread Next' bookmarklet for debian html mailing lists.Stefan Wasilewski
Clicks the [Thread Next] link on many html mailing list archives. Very useful for reading lists without having to scroll to top or bottom of page.
3MD5 in JSJoey Smith
This is an implementation of the MD5 algorithm in JS.
8rot13 (freeware)Valentin Hilbig
Freeware implementation of rot13 in JavaScript.
Example see
23daily comic stripAndreas Marschke
a simple shell script to get the latest comics of you favourite internet comics
34Janiva GalleryJean Alfian
Javascript for gallery
54Designing a Lexical Analyzer C# | By Milly PeelerMilly Peeler
MY Goal is to develop a simple compiler using C# tool.I'll show how easy it's implementation.

Generally, four major parts to a compiler:
1)Lexical analysis,
3)Semantic analysis,
4)and Code generation.

IN SHORT, Lexical analysis breaks the source code into its lexical units. Parsing combines those units into sentences, using the grammar (see below) to make sure the are allowable. Semantic analysis makes sure the sentences make sense, especially in areas that are not so easily specified via the grammar. Type checking is a good example. Code generation takes the output of the Parser (many times in the format of an Abstract Syntax Tree) and converts it to (virtual) machine code, assembly code, or perhaps even code in another programming language - C# is a popular target.

Lexical analysis:
Also called scanning, this part of a compiler breaks the source code into meaningful symbols that the parser can work with. Typically, the scanner returns an enumerated type (or constant, depending on the language) representing the symbol just scanned. Scanning is the easiest and most well-defined aspect of compiling.

Milly Peeler - web Developer at
Powered By FusionForge