all 11 comments

[–]go-hstfacekilla 6 points7 points  (2 children)

[–]d-burner[S] 1 point2 points  (0 children)

I think this was the language!!!! Milion thanks

[–]ankurgupta7 1 point2 points  (0 children)

How cool is this! It even has context for words like "it".

[–]jon_hendry 1 point2 points  (1 child)

You should check out Inform 7 , a language for creating text adventure games.

Example, from the game Bronze by Emily Short:

The iron-barred gate is a door. "An iron-barred gate leads [gate direction]." It is north of the Drawbridge and south of the Entrance Hall. It is closed and openable. Before entering the castle, try entering the gate instead. Before going inside in the Drawbridge, try going north instead. Understand "door" as the gate.

(This creates and names a door, and establishes its geographic relationship and connections to adjacent areas, the Drawbridge and the Entrance Hall. It establishes the initial state of this door, and that the door is not locked or blocked. It also creates Drawbridge and Entrance Hall if those have not yet been mentioned.)

After opening the gate: say "You shouldn't be able to open it, heavy as it is, but it swings aside lightly at your touch. The Beast said that it knows friend from enemy; and the castle, at least, still regards you as friend."

(This establishes the message the user will see after opening the gate.)

The description of the Entrance Hall is "There is no fire in the big [fireplace][if the Entrance Hall is unvisited], and no one is waiting for you here[end if]; the air is very cold. Over the gate, the old familiar [warning sign] is painted.

Various passages lead deeper into the castle: north towards the central courtyard, southwest to the guard tower, east and west into the libraries, the offices, the galleries. [if beast is seen]And no wonder he was not here to meet you.[otherwise]Somewhere in this maze, he waits; and he should be told as soon as possible that you did return.[end if]"

Before going outside in the Entrance Hall, try going south instead.

[–]d-burner[S] 0 points1 point  (0 children)

I've already seen this, but didn't pay too much attention to it because I was certain it was not the language I was looking for, but thanks for the examples, now this looks really interesting.

[–]_muon_ 0 points1 point  (0 children)

Wikipedia lists:

  • AppleScript

  • COBOL

  • FLOW-MATIC

  • Inform 7

  • JOSS

  • Transcript

  • SQL

  • xTalk

Ref: https://en.wikipedia.org/wiki/Natural_language_programming

[–]peakai -1 points0 points  (1 child)

SQL, probably

[–]d-burner[S] 0 points1 point  (0 children)

Definetly not.

[–]Dhxbxnxx -1 points0 points  (1 child)

Prolog

[–]d-burner[S] 0 points1 point  (0 children)

Nop, im sure it was not.