[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-512033-105":59,"doc-detail-512033-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","gnoll-efficient-software-for-real-world-dice-notation-and-extensions","GNOLL - Efficient Software for Real-World Dice Notation and Extensions","","GNOLL is an open-source software library for dice notation, a way to describe how to roll collections of dice. Built to target a tabletop role-playing and board-gaming syntax already used by players, it addresses limitations of existing implementations that are incomplete, fragile, or proprietary. Using YACC and LEX, the paper presents GNOLL’s extended syntax, supported operations, and competitive performance as a practical reference for other dice-notation interpreters.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/gnoll-efficient-software-for-real-world-dice-notation-and-extensions/512033/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/gnoll-efficient-software-for-real-world-dice-notation-and-extensions/512033.png","ImageObject",300,407,{"name":92,"@type":93},"EvelynWrites","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-06","2026-10-06",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does GNOLL address in dice notation software?","Question",{"text":112,"@type":113},"GNOLL addresses the need for a reliable, non-proprietary dice-notation interpreter, since existing implementations are often incomplete, fragile, or closed-source and therefore difficult to integrate and collaborate on.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What tools and approaches does GNOLL use to implement its parser?",{"text":117,"@type":113},"GNOLL uses open-source compilation and lexical tools, YACC and LEX, to integrate extended dice-notation syntax into other applications with relative ease.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the paper position GNOLL’s supported syntax compared with earlier work?",{"text":121,"@type":113},"The paper contrasts GNOLL with prior approaches such as ROLL/TROLL, noting accessibility and usability differences and highlighting GNOLL as an implementation reference with extended syntax and performance focus.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},512033,1791377719,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},687212989558,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","arXiv :2205 . 13430v2 [ cs .PL] 4 Jul 2022  \nGNOLL: Efficient Software for Real-World Dice Notation and Extensions  \nIan Frederick Vigogne Goodbody Hunter  \n[ianfhunter@gmail.com](ianfhunter@gmail.com)  \nIndependent Researcher  \nKells, Meath, Ireland  \nFigure 1. The author’s rendition of a hyena/gnoll.  \nAbstract  \nGNOLL (‘GNOLL’s Not *OLL’) is a software library for dice notation —A method of describing how to roll collections of dice. Unlike previous papers, GNOLL’s dice notation syntax is focused on parsing a language that tabletop role-players and board gamers already use for specifying dice rolls in many popular software applications. Existing implementations of such a syntax are either incomplete, fragile, or proprietary, meaning that anyone hoping to use such syntax in their application likely needs to write their own solution. GNOLL is an open-source project using the compilation tool‘YACC’ and lexical tool ‘LEX’ which can be integrated into many applications with relative ease. This paper explores GNOLL’s extended dice notation syntax and its competitive performance.  \nCCS Concepts: • Software and its engineering → Domain specific languages.  \nKeywords: dice notation, dice, ttrpgs, dsl, domain specific language, tabletop roleplaying games, board games, gnoll, gaming  \n1 Introduction  \n1.1 Paper Overview  \nThis paper describes GNOLL, a software library for interpreting a DSL (Domain Specific Language) for dice notation.  \nGNOLL is a software library for interpreting a DSL (Domain Specific Language) for an extended set of dice notation. This paper explores GNOLL’s supported operations, its performance and provides a much-needed implementation reference for other dice notation interpreters. GNOLLis licensed under GNU General Public License v3 .0.  \n1.1.1 What’s in a name? There are not many publications specifically tackling this issue and the ones that are (as discussed later in section 1.3) are named ROLL [19] and TROLL [20] — To distinguish this research and still pay homage to the original work, GNOLL is a recursive acronym expanded from ‘GNOLL’s Not *OLL’.  \nIn fantasy-based tabletop role-playing games (TTRPGs) settings, a player might come across a gnoll in their adventure — they are a hyena-human hybrid typically on the side of evil.  \n1.1.2 Paper Layout. In this introductory section, we address a few basic questions such as ‘Why is such a project needed?’ and ‘Aren’t there existing solutions that can be  \nHunter, IFVG  \nused?’. The architecture of GNOLL and some of the parsing decisions are then discussed in Section 2.  \nA collection of results are presented in the subsequent section and the paper is concluded with a summary of GNOLL’s impact and a discussion on its merits, limitations, and desirable future work for the project. A list of references and an appendix follow.  \n1.2 Demand for a solution  \nThough a popular pastime in the 1970s and 1980s, TTRPGs experienced a fall from grace after a moral panic over the percieved content of the games (colloquially known as the\"Satanic Panic\") [30, 32] . However, over the last decade, there has been a resurgence in their popularity [11] . The popular‘Dungeons & Dragons’ TTRPG was recently reported by Hasbro to have had its ninth year of consecutive growth [10] .  \nIn this new era of tabletop gaming, many aspects of the hobby have changed — revisions of system rules, increased inclusiveness [21] and the proliferation of software tools to assist ‘Dungeon Masters’ and their players. During the international COVID-19 pandemic, many groups shifted to play wholly online as they could no longer meet in person. Opinions gathered on the online platform Reddit suggested that while many missed the physical presence of their adventuring companions, they appreciated the tools available for online play — though a large cohort complained about their instability and complexity of use [27] .  \nMany of these tools use common dice notation, but standards differ between platforms and the ","cbCaierCQFdVLMQn","https://ap.wps.com/l/cbCaierCQFdVLMQn","pdf",1043597,11,"English","# Abstract\n# 1 Introduction\n## 1.1 Paper Overview\n## 1.2 Demand for a solution\n## 1.3 Previous Work","[{\"question\":\"What problem does GNOLL address in dice notation software?\",\"answer\":\"GNOLL addresses the need for a reliable, non-proprietary dice-notation interpreter, since existing implementations are often incomplete, fragile, or closed-source and therefore difficult to integrate and collaborate on.\"},{\"question\":\"What tools and approaches does GNOLL use to implement its parser?\",\"answer\":\"GNOLL uses open-source compilation and lexical tools, YACC and LEX, to integrate extended dice-notation syntax into other applications with relative ease.\"},{\"question\":\"How does the paper position GNOLL’s supported syntax compared with earlier work?\",\"answer\":\"The paper contrasts GNOLL with prior approaches such as ROLL/TROLL, noting accessibility and usability differences and highlighting GNOLL as an implementation reference with extended syntax and performance focus.\"}]","GNOLL - Efficient Software for Real-World Dice Notation and Extensions | PDF",1791263995,28,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b0f80f7afd63ac48994616fb44603969.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8b1a52f12eb520eb045828e35d32260e.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7010c08a5e6c6e2c0f4fd6b454e4fcb9.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cad93913a87a0d274c13cf253367e325.webp",980,1268]