aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/src/main/webapp/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'language-web/src/main/webapp/index.html')
-rw-r--r--language-web/src/main/webapp/index.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/language-web/src/main/webapp/index.html b/language-web/src/main/webapp/index.html
deleted file mode 100644
index 3e068f68..00000000
--- a/language-web/src/main/webapp/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
1<!DOCTYPE html>
2<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3<meta http-equiv="Content-Language" content="en-us">
4<title>Example Web Editor</title>
5<link rel="stylesheet" type="text/css" href="webjars/codemirror/5.52.2/lib/codemirror.css" />
6<link rel="stylesheet" type="text/css" href="webjars/codemirror/5.52.2/addon/hint/show-hint.css" />
7<link rel="stylesheet" type="text/css" href="xtext/2.26.0.M1/xtext-codemirror.css" />
8<link rel="stylesheet" type="text/css" href="style.css" />
9<body>
10 <div class="container">
11 <div class="header">
12 <h1>Example Problem Web Editor</h1>
13 </div>
14 <div class="content">
15 <div class="xtext-editor"
16 data-editor-xtext-lang="problem"
17 data-editor-enable-formatting-action="true"
18 data-editor-send-full-text="false"
19 ><pre>class Family {
20 contains Person[] members
21}
22
23class Person {
24 Person[] children opposite parent
25 Person[0..1] parent opposite children
26 int age
27 TaxStatus taxStatus
28}
29
30enum TaxStatus {
31 child, student, adult, retired
32}
33
34% A child cannot have any dependents.
35error invalidTaxStatus(Person p) :-
36 taxStatus(p, child), children(p, _q).
37
38Family('family').
39members('family', anne).
40members('family', bob).
41members('family', ciri).
42children(anne, ciri).
43?children(bob, ciri).
44taxStatus(anne, adult).
45age(anne, 35).
46bobAge: 27.
47age(bob, bobAge).
48!age(ciri, bobAge).
49
50scope Family = 1, Person += 5..10.
51</pre></div>
52 </div>
53 </div>
54 <script type="text/javascript" src="webjars/requirejs/2.3.6/require.min.js"></script>
55 <script type="text/javascript" src="script.js"></script>
56</body>