diff options
| author | Matthew Hall <hallmatthew314@gmail.com> | 2022-09-03 16:07:58 +1200 |
|---|---|---|
| committer | Matthew Hall <hallmatthew314@gmail.com> | 2022-09-03 16:07:58 +1200 |
| commit | cd9f3bc3f3ecb04eaee42c65880711bd35c7e71b (patch) | |
| tree | 48d76a9bfaaa7959de7a9689277b8e01e78286b1 /src/thue/program.cr | |
| parent | 95e20a4662c96372b62441a4c598df0f29851834 (diff) | |
Able to parse Thue code
Diffstat (limited to 'src/thue/program.cr')
| -rw-r--r-- | src/thue/program.cr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/thue/program.cr b/src/thue/program.cr new file mode 100644 index 0000000..c59780b --- /dev/null +++ b/src/thue/program.cr @@ -0,0 +1,13 @@ +require "./thue.cr" +require "./parser.cr" + +class Thue::Program + def initialize(@parser : Parser) + end + + def interpret + something = @parser.parse + puts something + end +end + |
