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

15
LINES

< > BotCompany Repo | #1007566 // Logic Agent 2: "Is X an integer"

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (8484L/58K/189K).

!7

// qnaeuvrncafakobl = yes
Agent_abs_NameToMarker > LogicAgent {
  *() {
    super("qnaeuvrncafakobl", func(S name) {
      new Matches m;
      ret match("Is * an integer?", name, m) && isInteger($1);
    });
  }
}

p {
  new LogicAgent().runLive(args);
}

Author comment

Began life as a copy of #1007554

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007566
Snippet name: Logic Agent 2: "Is X an integer"
Eternal ID of this version: #1007566/7
Text MD5: 6c69cd16c1b9a8e8352a794c9f0e0a52
Transpilation MD5: f4781d43faf656e203ff3c106cd06965
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-30 13:41:05
Source code size: 275 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 485 / 614
Version history: 6 change(s)
Referenced in: [show references]