Skip to content

Latest commit

 

History

History

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Test

This folder contains test cases, ranging from the practical to focused language feature tests in features. All tests are automatically executed by our test suite (see test.sh in the root folder of the project).

Here is an overview of the most important top-level directories:

  • Language: Lore language tests, focused on testing specific areas of the language. The code that has to be written for these tests often doesn't follow best practices. Hence, these tests aren't idiomatic examples and best ignored outside of language development.
  • Lessons: Single-file, simple Lore programs that follow a specific objective.
  • Examples: Other single-file Lore programs, without the level of focus of a lesson.

If you want to have a first look at some Lore programs, consider diving into the lessons.

These complex test cases deserve their own directories:

  • Calculator: A reverse Polish notation parser and evaluator. The calculator supports positive integers and basic arithmetic operations.
  • Combat: A turn-based combat simulation inspired by RPGs.