aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-03-02 20:20:33 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-03-02 20:20:33 +0200
commitb16f8b0d639b529a3110c14c65668cb3cbfb4314 (patch)
treeedca5b40cb7634498b863497e9d39864f2b4d63c
parent249ccecd908f11a77a531e23bcd3111bb3ecdb89 (diff)
downloadegawk-b16f8b0d639b529a3110c14c65668cb3cbfb4314.tar.gz
egawk-b16f8b0d639b529a3110c14c65668cb3cbfb4314.tar.bz2
egawk-b16f8b0d639b529a3110c14c65668cb3cbfb4314.zip
Remove hardregex.txt file, no longer needed.
-rw-r--r--hardregex.txt24
1 files changed, 0 insertions, 24 deletions
diff --git a/hardregex.txt b/hardregex.txt
deleted file mode 100644
index 557548c8..00000000
--- a/hardregex.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-New variable type: "regexp", --> Node_hardregexp. (Need a better name).
-
-Syntax: @/.../
-
-Use:
- a = @/.../ # a now has type regexp
- a = foo(1, "bar", @/.../) # pass a regex to user defined function
-
-New function:
- t = typeof(exp) # "array", "regexp", "scalar"
- # Open: "scalar" vs. "scalar_s" / "scalar_n"
-
-Obsolete function:
- isarray(exp)
-
-Conversions:
- r = @/.../
- s = r "" # what happens? becomes regex string?
- s = r + 0 # what happens? treat as numeric 0?
-
-Why?
- Allows passing regexes through user defined functions
- Allows passing regexes through indirect funtion calls
- In general, this is a gap in the language