all repos — NoPaste @ 5c12c8a8f515faa64a6cd1d3f04d9aa60561322d

Resurrected - The PussTheCat.org fork of NoPaste

scripts/CodeMirror/mode/ecl/index.html (view raw)

 1<!doctype html>
 2
 3<title>CodeMirror: ECL mode</title>
 4<meta charset="utf-8"/>
 5<link rel=stylesheet href="../../doc/docs.css">
 6
 7<link rel="stylesheet" href="../../lib/codemirror.css">
 8<script src="../../lib/codemirror.js"></script>
 9<script src="ecl.js"></script>
10<style>.CodeMirror {border: 1px solid black;}</style>
11<div id=nav>
12  <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a>
13
14  <ul>
15    <li><a href="../../index.html">Home</a>
16    <li><a href="../../doc/manual.html">Manual</a>
17    <li><a href="https://github.com/codemirror/codemirror">Code</a>
18  </ul>
19  <ul>
20    <li><a href="../index.html">Language modes</a>
21    <li><a class=active href="#">ECL</a>
22  </ul>
23</div>
24
25<article>
26<h2>ECL mode</h2>
27<form><textarea id="code" name="code">
28/*
29sample useless code to demonstrate ecl syntax highlighting
30this is a multiline comment!
31*/
32
33//  this is a singleline comment!
34
35import ut;
36r := 
37  record
38   string22 s1 := '123';
39   integer4 i1 := 123;
40  end;
41#option('tmp', true);
42d := dataset('tmp::qb', r, thor);
43output(d);
44</textarea></form>
45    <script>
46      var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
47    </script>
48
49    <p>Based on CodeMirror's clike mode.  For more information see <a href="http://hpccsystems.com">HPCC Systems</a> web site.</p>
50    <p><strong>MIME types defined:</strong> <code>text/x-ecl</code>.</p>
51
52  </article>