"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/langs-examples/ex-src/alan.alan" (12 May 2020, 1035 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) ALAN Interactive Fiction Language source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 --==============================================================================
    2 -- "Chez Alan" by Tristano Ajmone, 2018 || Public domain: http://unlicense.org
    3 --==============================================================================
    4 Import 'library.i'. --> ALAN Standard Library v2.1
    5 
    6 The my_game IsA definition_block
    7   Has title    "Chez Alan".
    8   Has subtitle "A small demo adventure".
    9   Has author   "Tristano Ajmone".
   10   Has year     2018.
   11   Has version  "1".
   12 End The.
   13 
   14 The 'IF Plaza' IsA location
   15   Exit north to ChezAlan.
   16   Description "North lies ""Chez Alan"", the renown French brasserie."
   17 End The 'IF Plaza'.
   18 
   19 The ChezAlan IsA room.
   20   Name 'Chez Alan Brasserie'.
   21   Description
   22     "Today Chez Alan seems busier then ever."
   23   Entered
   24     """Welcome back Sir!"" the maitre greets you.
   25     $nHe has a strong French accent."
   26 End The ChezAlan.
   27 
   28 The Pierre IsA male At ChezAlan.
   29   Name Pierre.
   30   Name 'Alan''s' brother.
   31   Is named.
   32   Has ex "Pierre is Alan's brother.".
   33 End The Pierre.
   34 
   35 Start At 'IF Plaza'.
   36 Describe banner.