conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Use local copy of directives string to avoid GC issues.\n"
},
{
"from": "human",
"value": "/* This file was generated by Ragel. Your edits will be lost.\n *\n * This is a state machine implementation of Array#pack.\n *\n * vim: filetype=cpp\n */\n\n#include \"vm.hpp... | ragel-in-ruby-host | chosen |
[
{
"from": "system",
"value": "Remove the 'noend' write option. This example is referenced a lot and as a\nfirst example it shouldn't contain a special purpose write option like 'noend'.\n"
},
{
"from": "human",
"value": "/*\n * Convert a string to an integer.\n */\n\n#include <iostream>\n#includ... | ragel-in-ruby-host | chosen |
[
{
"from": "human",
"value": "Test fnext in combination with fbreak.\n"
},
{
"from": "gpt",
"value": "/*\n * @LANG: c\n *\n * Tests fnext in combination with fbreak.\n */\n\n#include <string.h>\n#include <stdio.h>\n\nchar comm;\nint top;\nint stack [32];\n\n%%{\n machine fnext;\n\taction break... | ragel-in-ruby-host | chosen |
[
{
"from": "human",
"value": "Add initial ragel grammar based on Stomp 1.2 ABNF\n\nSee http://stomp.github.io/stomp-specification-1.2.html#Augmented_BNF"
},
{
"from": "gpt",
"value": "module Stompede\n module Stomp\n %%{\n machine Message;\n\n NULL = \"\\0\";\n LF = \"\\n\";\n ... | ragel-in-ruby-host | chosen |
README.md exists but content is empty.
- Downloads last month
- 4