agude / agude/Dice

The stack is not always emptied when the stream is consumed

Aberta
#1 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
Python
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

If we don't have a "global mod" on the dice (like simply `3d6` instead of `3d6`) then the stack will still have at least `` on it when we finish.

For now we hard code checks for `` and ``, but we should actually run the parser to make sure they are compatible with an empty stream (as both of the above are). That way we won't have to maintain a list of hard-coded acceptable tokens.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.