Preface

From Esolang
Jump to navigation Jump to search

Preface is a esolang by User:Yayimhere because of a discord discussion about No-code esolangs.

semantics

ignore program and take user input. the input will be the memory. the input is bounded to 256 chars but memory is unbounded. then if there is a (body) the the body will be appended to the end of the string again.
now we run this with these iterations:

  • if the first char of the memory is a uppercase letter its lowercase version will be added to the end(with diacritic chaining and stuff)
  • delete the first char of the memory
  • append it back if it equal to the start of the memory if its not a letter
  • halt unless the start of the memory is not {
  • apply these substitutions in order(only of the start of the string and if a substitution is not applied then add move that symbol to end of memory):
A->!
2->!
!;->!!;
!!!!;->#
#->##
###->!!!!!!!!!!!!!!!;#
!!;#->!;#
!;#->e(empty string)
  • append memory to self unless end of memory is equal to the end
  • repeat until halting