Commit Graph

26 Commits

Author SHA1 Message Date
Kelvin Sherlock ce1a36eba5 add regular expression support for evaluate, if, etc.
eg:

evaluate abc =~ /(abc)®4/ # sets the '@4' environment variable.
evaluate abc !~ /[aA]bc/

MPW regular expressions are converted to c++11 std::regex regular expressions and evaluated.
Sadly, the // regular expression syntax interferes with unix-paths (if the / count is odd).  quoting or ∂-escaping the /s is therefore necessary.

file globbing is not yet implemented.
2022-11-22 17:22:49 -05:00
Kelvin Sherlock a15d2bf257 include generated lemon++ parser code so lemon++ isn't needed. 2020-12-01 23:00:41 -05:00
Kelvin Sherlock fa804e91f0 clean up cmakefile a little bit more. 2016-08-31 14:43:29 -04:00
Kelvin Sherlock 33dd3228f8 update the parser/lexer to make it more reusable. For example, subshells are now handled. 2016-08-16 16:47:20 -04:00
Kelvin Sherlock 548880a517 support -ledit or -lreadline 2016-08-12 14:50:18 -04:00
Kelvin Sherlock 0422976719 generate config.h via CMake. 2016-08-09 15:29:10 -04:00
Kelvin Sherlock 5b343cc7dd use updated lemon++. 2016-08-05 10:25:17 -04:00
Kelvin Sherlock 6d929aa87f convert utf8 input to macroman. 2016-07-21 15:14:27 -04:00
Kelvin Sherlock fed90b3753 rewrite phase1 in C -- slightly strange processing is ugly in ragel.
Also move error checking for strings/variables until later.
2016-07-21 11:46:39 -04:00
Kelvin Sherlock 0ba9574d2d adjust cmakelist 2016-07-19 13:40:57 -04:00
Kelvin Sherlock 5f9293a9e2 remove old files no longer in use. 2016-07-19 12:58:27 -04:00
Kelvin Sherlock 446e3e5e1e move cxx stuff into cxx directory 2016-02-11 15:46:40 -05:00
Kelvin Sherlock 3fea71d1e8 directory -- support for MacOS pathnames. 2016-02-09 23:50:33 -05:00
Kelvin Sherlock b52565bc37 fix install 2016-02-06 12:54:52 -05:00
Kelvin Sherlock a65cdfead0 make install 2016-02-06 12:47:42 -05:00
Kelvin Sherlock 6f482d73df move out more unused files 2016-02-02 16:17:30 -05:00
Kelvin Sherlock 532c62ec15 mapped file. 2016-02-01 22:32:21 -05:00
Kelvin Sherlock af4b0e2eeb editline support 2016-02-01 21:17:46 -05:00
Kelvin Sherlock 5723656988 lots of updates! 2016-02-01 20:38:29 -05:00
Kelvin Sherlock c8d12c4b3e improved cmakefile 2016-01-31 00:41:40 -05:00
Kelvin Sherlock 1b4eb0f2bc testing updates 2016-01-30 12:45:50 -05:00
Kelvin Sherlock 3e5a128d8e use a macro for ragel command. 2016-01-29 22:23:51 -05:00
Kelvin Sherlock 8fcfba4328 more linux 2016-01-27 12:19:38 -05:00
Kelvin Sherlock 48415a355b more linux. 2016-01-27 11:40:23 -05:00
Kelvin Sherlock 08022d33fd linux compatibility / fix CMakeList 2016-01-27 11:33:53 -05:00
Kelvin Sherlock 7034e1193e initial version 2016-01-27 10:43:34 -05:00