Challenge 4:Below is section of markup code in plain HTML from the Wiki. This will be in a file called readme.html. The challenge is to create a viewer that can at least support < p >, < h1 >, < h2 >, < h3 >, < h4 >, < b >, < i > and < u > tags. Any other HTML tag can be ignored.
Feel free to extend the feature set further.
Duration:1 month
End Date20th May 2007Prize:10 Karma Points for everyone that completes the challenge.
10 Karma Points for the visually best looking one.
10 Karma Points for the biggest/most impressive feature set.
10 Karma Points for 'clean' code( eg proper indentation, good variable names etc)
<h2>Philosophy</h2>
<p>Lua is commonly described as a "<a href="/wiki/Multi-paradigm_programming_language" title="Multi-paradigm programming language">multi-paradigm</a>" language, providing a small set of general features that can be extended to fit different problem types, rather than providing a more complex and rigid specification to match a single paradigm. Lua, for instance, does not contain explicit support for <a href="/wiki/Inheritance_%28computer_science%29" title="Inheritance (computer science)">inheritance</a>, but allows it to be implemented relatively easily with metatables. Similarly, Lua allows programmers to implement <a href="/wiki/Namespace_%28programming%29" title="Namespace (programming)">namespaces</a>, <a href="/wiki/Classes_%28computer_science%29" title="Classes (computer science)">classes</a>, and other related features using its single table implementation; <a href="/wiki/First_class_function" title="First class function">first class functions</a> allow the employment of many powerful techniques from <a href="/wiki/Functional_programming" title="Functional programming">functional programming</a>; and full lexical <a href="/wiki/Scope_%28programming%29" title="Scope (programming)">scoping</a> allows fine-grained <a href="/wiki/Information_hiding" title="Information hiding">information hiding</a> to enforce the <a href="/wiki/Principle_of_least_privilege" title="Principle of least privilege">principle of least privilege</a>.</p>
<p>In general, Lua strives to provide flexible meta-features that can be extended as needed, rather than supply a feature-set specific to one programming paradigm. As a result, the base language is <a href="/wiki/Lightweight_languages" title="Lightweight languages">light</a>?in fact, the full reference <a href="/wiki/Interpreter_%28computing%29" title="Interpreter (computing)">interpreter</a> is only about 150KB compiled?and easily adaptable to a broad range of applications.</p>
«
Last Edit: April 20, 2007, 03:14:27 AM by yaustar »