Select script language in admin console
Please add a "language" parameter into admin console to switch between Lua, JS and other languages.
For example:
tarantool
localhost> print('Hello from Lua')
---
Hello from Lua
...
localhost> console.
localhost> console.log("Hello from JS")
Hello from JS
...
localhost> console.
localhost> print('Hello from Lua')
---
Hello from Lua
...
Lua can be used as a default.
console.setopt(key, value) is proposed as an universal interface to set server-side options of admin console.
We (I with Kostja) decided during Skype discussion that the server also need server-side delimeter, e.g.
>console.
Other options can be added in the future.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Roman Tsisyk
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Work Items
Dependency tree
* Blueprints in grey have been implemented.