forked from newspeaklanguage/newspeak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ampleforth.ns
26 lines (23 loc) · 984 Bytes
/
Ampleforth.ns
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Newspeak3
'Root'
class Ampleforth packageUsing: manifest = (
(* Ampleforth is designed to support live literate programming. It supports embedding Newspeak code inside the text of a normal web page. Ampleforth is in its infancy, and currently can be used in conjunction with other tools such as Madoko, Lounge or plain old HTML to produce such documents.
Ampleforth is the name of a character in 1984 who worked at the Ministry of Truth. His job was to edit Oldspeak text so it would be goodthinkful.
Copyright 2014-2017 Google Inc. *)
|
private Embedder = manifest AmpleforthEmbedder.
private HopscotchIDE = manifest HopscotchWebIDE packageUsing: manifest.
|
) (
public main: platform args: args = (
|
namespace embedder ide
|
ide:: HopscotchIDE ideUsingPlatform: platform.
namespace:: ide namespacing Root.
namespace at: #Ampleforth put: self class.
embedder:: Embedder usingPlatform: platform namespace: namespace browsing: ide browsing.
embedder start.
)
) : (
)