debug.go 679 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * ECAL
  3. *
  4. * Copyright 2020 Matthias Ladkau. All rights reserved.
  5. *
  6. * This Source Code Form is subject to the terms of the MIT
  7. * License, If a copy of the MIT License was not distributed with this
  8. * file, You can obtain one at https://opensource.org/licenses/MIT.
  9. */
  10. /*
  11. Package interpreter contains the ECAL interpreter.
  12. */
  13. package interpreter
  14. /*
  15. OutputTerminal is a generic output terminal which can write strings.
  16. */
  17. type OutputTerminal interface {
  18. /*
  19. WriteString write a string on this terminal.
  20. */
  21. WriteString(s string)
  22. }
  23. /*
  24. Debugger is a debugging object which can be used to inspect and modify a running
  25. ECAL environment.
  26. */
  27. type Debugger interface {
  28. }