Interpreter

Proto ZOOMlang Interpreter:

Code following for below HTML input boxez and JavaSkript cohd tu interpret it intu a.

<!DOCTYPE html>

  ZOOMlang 

// //

//   # Enter your rwlset in here. 

 Enter your query: 

  

   <span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"> <input type =" checkbox " name =" showparse " /> Show parse results <span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">

<span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"> <span class="html-tag" style="font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;"><textarea rows =" 40 " cols =" 90 " name =" output "> <span style="color: #881280; font-family: monospace; font-size: medium; line-height: normal; white-space: pre-wrap;">

<script language =" JavaScript "> // // //

<? if (isset($POST['name'])) $name = $_POST['name']; else $name = "(Not entered)"; echo <<<_END;

Your naim iz now: $name

<form method="post" action="ZOOM;"> What is your name? <input type="text" name="name" />

_END; ?>

Un finisht...

[In put text in spaes] & [if form action skript iz kumpleeted befohr then tu clik [Run Query] switch should wrk].

Test Widjet:

media type="custom" key="27359408" <span style="display: block; height: 1px; left: 0px; overflow: hidden; position: absolute; top: 451px; width: 1px;"> <span style="display: block; height: 1px; left: 0px; overflow: hidden; position: absolute; top: 662px; width: 1px;">
 * <form name =" rules " action =" javascript:return false; "> ||
 * || <textarea cols =" 90 " rows =" 40 " name =" rules "> # Enter your ruleset in here. ||
 * print ("Parsing rulesets.\n"); ||
 * || rules = rules.split("\n"); ||
 * || var outr = [], outi=0; ||
 * || for (var r=0; r < rules.length; r++) { ||
 * || var rule = rules[r]; ||
 * || if (rule.substring(0, 1) == "#" || rule == "") continue; ||
 * || var or = ParseRule(new Tokeniser(rule)); ||
 * || if (or == null) continue; ||
 * || outr[outi++] = or; ||
 * || // print ("Rule "+outi+" is : "); ||
 * || if (show) or.print ||
 * || } ||
 * || } ||