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: 853 / 378
Referenced in: #76 - Batch dump of snippet database
#128 - #118 (parse_digit) as test case
#1029713 - style.css for GAIPP Bot
#1030233 - style.css for Gazelle Bot [now moved to https://gazelle.rocks/237267]
#1030643 - style.css for FIA Bot
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)