Inital release!
This commit is contained in:
parent
fb590b5b66
commit
f4e1fe1522
@ -1,2 +1,4 @@
|
|||||||
# DialogueManagementScript
|
# DialogueManagementScript
|
||||||
A scripting language for managing dialogue for an upcoming project I am working on
|
A scripting language for managing dialogue for an upcoming project I am working on
|
||||||
|
|
||||||
|
The final version of the interperter will most likely be built in c++ and compiled as a dll. The syntax of the DMS will be very similar to the parseManager syntax I am working on. This will eventually replace the parseManager code.
|
||||||
36
test.dms
Normal file
36
test.dms
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
ENTRY main
|
||||||
|
ENABLE
|
||||||
|
DISABLE
|
||||||
|
LOADFILE
|
||||||
|
|
||||||
|
[main]
|
||||||
|
"This works!"
|
||||||
|
"What's up"
|
||||||
|
|
||||||
|
Ryan: "Hello how are you doing?"
|
||||||
|
Bob: "I'm good you?"
|
||||||
|
|
||||||
|
|
||||||
|
list = {1,2,3,true,false, {1,2,3}}
|
||||||
|
|
||||||
|
choice "Pick one:":
|
||||||
|
"first" func()
|
||||||
|
"second" func()
|
||||||
|
"third" func()
|
||||||
|
|
||||||
|
for x = 1,10:
|
||||||
|
...
|
||||||
|
|
||||||
|
while cond:
|
||||||
|
...
|
||||||
|
|
||||||
|
if cond:
|
||||||
|
...
|
||||||
|
elseif cond:
|
||||||
|
...
|
||||||
|
else:
|
||||||
|
...
|
||||||
|
|
||||||
|
var1,var2 = func(1,"string", 2+5)
|
||||||
|
|
||||||
|
[newblock:function()]
|
||||||
Loading…
x
Reference in New Issue
Block a user