Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #118 // parse_digit

Input/output example

input=
[[digit ::= 
             "0"..."9"]]
output=
[[function parse_digit()
  local c = char()
  if c ~= nil and c >= '0' and c <= '9' then
    next()
    return c
  end
end]]

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 187 [visualize]

Snippet ID: #118
Snippet name: parse_digit
Eternal ID of this version: #118/1
Text MD5: 4bf877502e8a556441d94bc36026a470
Author: stefan
Category: python parsing
Type: Input/output example
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-10 14:37:28
Source code size: 187 bytes / 11 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 918 / 393
Referenced in: [show references]