TG: More work done on Telecomms:

▫ Signals can now be rejected by Subspace broadcasters through a specific data[]
parameter.
▫ Improved the log browser.
▫ Log browsers and telecommunication monitors no longer require access to use.
You do need access to delete logs, however.
▫ Intercoms need power to work. They don't drain power, they just need a
constant flow of equipment power. As such, that offline intercom sprite's now
finally being put to use.

Scripting language:

▫ Sorry about all the files; they're all necessary! It's important to notice
that the basic structure of the scripting language code is not mine; I
cannibalized the base structure from some obscure BYOND project. It's pretty
well documented, and I'd say easier to browse through than atmos. Here's the
basic deal:

A compiler datum manages the relationships between the three main subsystems of
a scripting language: the Scanner, the Parser, and the Interpreter. The Scanner
splits raw text into token datums that the Parser can read. The Parser
transforms the otherwise random bits and strings into ordered AST Trees and
nodes for the Interpreter to read. The interpreter actually executes the code
and handles scope/functions/code blocks.
Revision: r3193
Author: 	 vageyenaman
This commit is contained in:
Ren Erthilo
2012-04-24 21:13:55 +01:00
parent 757b76c456
commit f8dd926ca5
14 changed files with 350 additions and 99 deletions

View File

@@ -331,7 +331,7 @@ menu "menu"
window "Telecomms IDE"
elem "Telecomms IDE"
type = MAIN
pos = 281,0
pos = 303,13
size = 652x582
anchor1 = none
anchor2 = none
@@ -372,8 +372,8 @@ window "Telecomms IDE"
type = BUTTON
pos = 180,464
size = 60x20
anchor1 = none
anchor2 = none
anchor1 = 28,80
anchor2 = 37,83
font-family = ""
font-size = 0
font-style = ""
@@ -400,8 +400,8 @@ window "Telecomms IDE"
type = BUTTON
pos = 120,464
size = 60x20
anchor1 = none
anchor2 = none
anchor1 = 18,80
anchor2 = 28,83
font-family = ""
font-size = 0
font-style = ""
@@ -428,8 +428,8 @@ window "Telecomms IDE"
type = OUTPUT
pos = 0,488
size = 648x94
anchor1 = none
anchor2 = none
anchor1 = 0,84
anchor2 = 99,100
font-family = "sans-serif"
font-size = 9
font-style = ""
@@ -454,8 +454,8 @@ window "Telecomms IDE"
type = BUTTON
pos = 60,464
size = 60x20
anchor1 = none
anchor2 = none
anchor1 = 9,80
anchor2 = 18,83
font-family = ""
font-size = 0
font-style = ""
@@ -482,8 +482,8 @@ window "Telecomms IDE"
type = BUTTON
pos = 0,464
size = 60x20
anchor1 = none
anchor2 = none
anchor1 = 0,80
anchor2 = 9,83
font-family = ""
font-size = 0
font-style = ""
@@ -510,8 +510,8 @@ window "Telecomms IDE"
type = INPUT
pos = 0,0
size = 652x464
anchor1 = none
anchor2 = none
anchor1 = 0,0
anchor2 = 100,80
font-family = "Courier"
font-size = 10
font-style = ""