Conversation
Notices
-
Embed this notice
smlckz (smlckz@fe.disroot.org)'s status on Saturday, 17-May-2025 23:50:41 JST smlckz
Me: arguing about Lisp and Forth systems..
Meanwhile in Tcl: Interpreters supported as built-in features: https://www.tcl-lang.org/man/tcl8.6/TclCmd/interp.htm
As in: interp — Create and manipulate Tcl interpreters
SYNOPSIS
interp subcommand ?arg arg ...?
DESCRIPTION
This command makes it possible to create one or more new Tcl interpreters that co-exist with the creating interpreter in the same application.
...
Me: ...
Which programming languages have anything like this?-
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Saturday, 17-May-2025 23:50:39 JST Alfred M. Szmidt
@smlckz Lisp?
In conversation permalink -
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Sunday, 18-May-2025 00:05:43 JST Alfred M. Szmidt
@smlckz most Lisp EVAL have a extra variable for the environment.
In conversation permalink -
Embed this notice
smlckz (smlckz@fe.disroot.org)'s status on Sunday, 18-May-2025 00:05:44 JST smlckz
@amszmidt Not quite built-in like in Tcl, I think.. "Each interpreter is independent from the others: it has its own name space for commands, procedures, and global variables." However, Common Lisp packages can be used to simulate this to some degree... In conversation permalink
-
Embed this notice