JavaScript
JavaScript is a simple language that can be used to
enhance web pages. What is particular interesting about
it, is that it is supported by many web browsers, and
is far more safe than Java, from which it bears its name.
Actually, Java and JavaScript do not have much in common,
except maybe for their names. Yes, the syntax also looks
the same, but if that would be taken as a measure, than it
would have a lot in common with so many other languages.
Because JavaScript programs are enterly run within the
browser, there are no security issues to worry about.
Another nice quality, it being a scripting language,
is that it is complete encapsulated in HTML, thus allowing
to create intelligent web pages which are contained in
a single file, and can even be executed without having to connect
to the internet.
I did start working on an interpretter
for JavaScript.
Some JavaScript enabled pages.
I was rather happy to have discovered JavaScript.
Here is a list of pages which have JavaScrip enhancements:
- The link of the email address on my home page
uses JavaScript to prevent email searching robots to find my
email address.
- The Family Tree page is generated using
JavaScript. For each person in the family tree a different pages
is generated, just by calling it with a different argument.
- The Feeding requirements for boys
page, and the Feeding requirements for
girls page, which contains an algorithm for calculating the required
calory intake for young boys, and girls respectively. I developed the
first page when my son Andy failed to gain weight.
- The BF online page, which contains
an interpreter and compiler to C for the BF language encoded
in JavaScript.
- The pages about the books Annabel has
read, for which their is a English
and Dutch version, are generated
from the same JavaScript include file, making use of function
pointers for printing the date in different ways. This is an
example of how the bandwidth can be reduced using JavaScript.
The same applies to the page with the list of drawings she made
(Enlgish and
Dutch).
- The pages with the contents of my
written diaries are also generated with the help of JavaScript.
- The pictures page is generated using
JavaScript.
- Chinese Wooden Puzzle for displaying
the solutions.
Home