Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse to blocks #2

Open
4 tasks
caisilus opened this issue Oct 14, 2021 · 0 comments
Open
4 tasks

parse to blocks #2

caisilus opened this issue Oct 14, 2021 · 0 comments

Comments

@caisilus
Copy link
Contributor

Pasring file to blocks

Example(prototype)

Character block:

Персонажи:
Гендальф
Саурон

Description block

{Приветствие}
Описание: В комнате на столе есть: эль и пиво, двоеточия 
и переносы строк.
Гендальф: Возьми кольцо, Фродо.

Responses block

[Да->{Поход в Мордор} 
| Нет, я не хочу носить кольцо -> {Конец игры}]

Tasks

  • Token classes: Characters, Description, Responses
  • Create tests
  • Implement parsing to token structs
  • Documentation
alexey-protopopov added a commit to alexey-protopopov/ruber_dialog that referenced this issue Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant