HAYAMA Kaoru
0aba8feb87
Replace IsNull with IsNone
2025-08-26 03:07:08 +09:00
HAYAMA_Kaoru
fe2080ba9a
Add New function to construct and initialize Env instances
...
The `New` function creates a new `Env` that embeds a `gmnlisp.World` and sets up the necessary pseudoterminal and inter-goroutine communication channels. This allows users to execute Lisp code with flexible argument control and custom Go function integration, offering more control compared to `RunString` or `RunFile`.
2025-05-04 16:59:17 +09:00
HAYAMA_Kaoru
3a4fa09e5a
Rename Global to Env for clarity and better library usability
2025-05-03 18:51:09 +09:00
HAYAMA_Kaoru
1540549e72
Refactor: split core functionality into separate package
2025-05-03 12:56:37 +09:00
HAYAMA_Kaoru
e6f1982b6e
Rename $MATCH => MATCH
2024-12-06 00:16:06 +09:00
HAYAMA_Kaoru
7b7e0ebccc
Implement (wait PID)
2024-12-05 12:11:09 +09:00
HAYAMA_Kaoru
9d7317330e
spawn returns process-id now
2024-12-05 12:08:02 +09:00
HAYAMA_Kaoru
b9c34297a9
Implement $MATCH
2024-12-03 18:16:59 +09:00
HAYAMA_Kaoru
4dc8a922c9
Implement (setenv KEY VAL)
2024-12-03 14:28:23 +09:00
HAYAMA_Kaoru
1b20e3b846
Support aborting with Ctrl-C
2024-12-01 13:09:16 +09:00
HAYAMA_Kaoru
f96eb75f49
Implement the option 'interval for (send) and (sendln)
2024-12-01 12:54:17 +09:00
HAYAMA_Kaoru
cf747dcac7
Implement (getenv)
2024-11-30 11:22:19 +09:00
HAYAMA_Kaoru
7cee075958
Swap (expect) and (expect*)
2024-11-30 10:37:43 +09:00
HAYAMA_Kaoru
4ffb196563
Implement (expect) like (case)
2024-11-30 02:28:24 +09:00
HAYAMA_Kaoru
de6a18813b
Implement (send)
2024-11-30 01:09:34 +09:00
HAYAMA_Kaoru
c99698837d
(expect*) supports the option 'timeout SECOND
2024-11-30 01:09:34 +09:00
HAYAMA_Kaoru
43ae74149d
Move Global method to global.go
2024-11-29 23:59:23 +09:00