The Wayback Machine - https://web.archive.org/web/20200919215319/https://github.com/topics/scripting
Skip to content
#

scripting

Here are 1,156 public repositories matching this topic...

bitfield
bitfield commented Apr 26, 2020

It's common when writing scripts that install or configure things to need input from the user (at a minimum, something like 'Press Enter to continue'; at a maximum, to be able to prompt the user for input, with an optional default value, and return that value).

Let's use this issue to design how that would look, and I invite suggestions!

PlatinMTA
PlatinMTA commented May 11, 2020

Describe the bug
You can't call a variable banIP or banSerial without getting an output on the server console/log.

To reproduce

-- serverside
banIP = "192.168.1.69"

Run that code and you will see and output similar to this:

[Server] banIP no longer works. Please manually update this. Refer to the wiki for details

Expected behaviour
It should only tell you tha

udoprog
udoprog commented Sep 9, 2020

Support rust style attributes;

#[hello]
fn test() {
}

#[hello]
struct Foo {
}

This will be invoked as macros with the ast of the thing that it annotates as input, and anything produced by the macro will be appended to the source (to work the same as Rust procedural macros).

  • Implement parsing.
  • Add compiler support to process attributes.

Implementation n

Improve this page

Add a description, image, and links to the scripting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the scripting topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.