Deploying DeadLetter Learning DeadCL DeadCL Tutorials DeadCL Syntax DeadCL MBS

Walk throughs

Author Keys Conversations Libraries Arrays

  Network Status Community Hub Contact Us



Meaning Based Syntax

(deadCL Syntax)


Meaning Based Syntax (MBS) is simplest 'programming' method within deadCL however it shouldn't be considered a replacement in part or full for a comprehensive understanding of deadCL

The most useful benefit of MBS is how you're able to integrate the nature meaning of a word directly within deadCL.

The following examples should aid in your understanding - if you have any questions best to visit our Community hub.






Handling Objects



Sometimes you may find it easier to use the real meaning of a word - with MBS this can be achieved using the following the methods.



You can change or set the meaning of a KC using MBS

As you can see this doesn't have to match the actual meaning of the word.

Amber; {a fire that creates water}


We can also use MBS to use the actual meaning of a word (as defined by the Oxford dictionary)

Here we're 'watching' the road (this will need detailing within a Library) for a 'car' (again this object will require further explanation) once it's seen it proceeds to the 'action'

WATCH; ROAD, CAR 'ACTION'

Structuring KC's



Generally Conversations are almost exclusively MBS therefore we'll focus on Libraries

KC's in MBS are structured using the same rules as all commands in deadCL, however there are multiply ways of achieving the same outcome.



Here we're posting the words 'YOUR CAR HAS BEEN STOLEN' when the object ('car') is absent.

CAR; RED, @MYCAR000.PNG RED, @MYCAR001.PNG WATCH; CAR, ACTION ON 'MOVE' ACTION; on EMPTY, {//POST 'YOUR CAR HAS BEEN STOLEN' output}


Here we've mixed both Fixed & MBS to achieve the same outcome, the benefit is a much more versatile program as we can easily add more variables without rewriting the entire program.

$_MYCARPR; 000.png 001.png 002.png $_MYCARAB; 000.png 001.png 002.png $_CAR; PRESENT, $_MYCARPR ABSENT, $_MYCARAB $_MESSAGE; YOUR CAR HAS BEEN STOLEN ?WATCH -- $_CAR FOR 'ABSENT' ON ABSENT //POST '$_MESSAGE'

Posting using MBS



Posting isn't usually handled by MBS however it is possible to perform a POST request using MBS.



We can create a POST request simply by requesting one - for instance here we're posting 'LIVE'

POST 'LIVE' to {output}


We can also perform a post request when an action against an object ('SEEN') occurs.

POST; 'LIVE' on SEEN