GithubHelp home page GithubHelp logo

typecastingsg / rpscript Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 442 KB

A scripting language for process automation

Home Page: http://www.rpscript.com

License: Apache License 2.0

TypeScript 54.51% JavaScript 26.47% HTML 18.49% Dockerfile 0.54%
rpa scripting-language automation script script-engine scripts-cli robotic-process-automation

rpscript's People

Contributors

wei3hua2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pgupta35

rpscript's Issues

Declared variable not read within lambda scope

Expected Behaviour

Variable declared should also be read within lambda context

Current Behavior

Throws reference error when called within lambda.
ERROR : ReferenceError: $<var> is not defined

Steps to Reproduce

  1. rps install basic
  2. Create a new file.rps
  3. copy the below code.
assign 'temp' 123
assign 'v' ($x)=>log $temp

call $v 'dummy'
  1. run rps file.rps

Context

rpscript - 0.3.1

cheerio keyword throw TypeError: Converting circular structure to JSON

Expected Behavior

Application should exit smoothly.

Current Behavior

error: ERROR : TypeError: Converting circular structure to JSON

Steps to Reproduce

  1. rps install cheerio request
  2. Create an rps file 'cheerio.rps' with the following lines.
request "http://en.wikipedia.org/wiki/George_Washington" | as 'text'
cheerio $text 'p'
  1. run rps cheerio.rps

Context (Environment)

rpscript - 0.3.0
rpscript-api-cheerio - 0.2.0

0.3.1 will not install on Win7 Pro 64 - npm 6.9.0

I cannot get past this error:

> scripts/install.js

'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\yeah_that_is_me\AppData\Roaming\npm-cache\_logs\2019-06-20T17_34_32
_761Z-debug.log

Thanks in advance.

REPL

Is your feature request related to a problem? Please describe.
Having to always create a file and run rps filename.rps is tedious if quick feedback is required.

Describe the solution you'd like
Implement repl similar to other languages like python, nodejs etc.

Symbol not parse

Expected Behavior

Application should exit smoothly.

Current Behavior

RPscript : Unhandled Rejection at: ReferenceError: Text is not defined

Steps to Reproduce

  1. rps install cheerio request
  2. Create an rps file 'cheerio.rps' with the following lines.
request "http://en.wikipedia.org/wiki/George_Washington"
cheerio $RESULT 'p' | as 'washington'

selector $washington Text
  1. run rps cheerio.rps

Context (Environment)

rpscript - 0.3.0
rpscript-api-cheerio - 0.2.0

Description

word with capital in front should be resolved to a symbol, but upon inspection, it remains as a variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.