package tiny_languages

  1. Overview
  2. Docs
Small languages from scratch: Scheme, Lisp, Smalltalk-80, Pascal, BASIC, JavaScript, HTML, CSS and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_languages.hypertalk/Hypertalk/index.html

Module HypertalkSource

Sourcetype script
Sourceexception Error of string
Sourceval parse : string -> script
Sourceval handlers : script -> string list
Sourcetype card_ref =
  1. | Next
  2. | Prev
  3. | First
  4. | Last
  5. | Named of string
  6. | Numbered of int
Sourcetype 'w world = {
  1. get_field : 'w -> string -> string;
  2. set_field : 'w -> string -> string -> 'w;
  3. go : 'w -> card_ref -> 'w;
  4. answer : 'w -> string -> 'w;
  5. beep : 'w -> 'w;
  6. number_of_cards : 'w -> int;
  7. card_number : 'w -> int;
  8. card_name : 'w -> string;
}
Sourceval send : 'w world -> script list -> string -> 'w -> 'w