From: Alan B. <ala...@gm...> - 2024-01-05 16:00:39
|
Note that there is much useful documentation in "InsideReduce", "Symbolic Mode Primer" and "Standard Lisp Report" in .../doc/primers. Note however that some prior knowledge of Lisp is necessary. There are many textbooks on Lisp, but be aware there may be some differences in detail depending on the dialect of Lisp described. Two vintage texts that I have found useful are: RLisp 88 by Jed Marti World Scientific (1993) Lisp by PH Winston & BKP Horn Addison-Wesley (1981) See my further comments below in red. AB On 05/01/2024 10:54, Nasser M. Abbasi wrote: > if I write > >> redcsl -w > Reduce (CSL, rev 6657), 10-Dec-2023 ... > > 1: a:="hello"; > 2: b:="world"; > > How could make new variable "helloworld" by > concatenating a and b? > > I can't find such command in the manual or > by searching. > The following text appears in InsideReduce in the primers section of the Reduce documentation. Perhaps the easiest suggestion for somebody who want to get started with string manipulation is to note that the function explode2 converts a string into a list of its constituent characters and functions like compress and list2string can be used to convert in the other direction. Any manner of string searching or concatenation becomes straightforward when it is performed on lists of characters. > Do I have to write lisp code to do this? if so, > I know nothing about lisp. I also do not know > how to call lisp from Reduce top level. From Reduce top-level use symbolic; or lisp; Then use algebraic; to return to algebraic mode. Individual commands may be prefixed with symbolic or lisp if you only want a few commands executing in symbolic mode > > I have a new to make string in Reduce by concatenating > other string. This is easy to do in Maple and Mathematica > using the cat function and using <> in Mathematica. > > Does Reduce have such build in command? > > Thanks, > --Nasser > > > _______________________________________________ > Reduce-algebra-developers mailing list > Red...@li... > https://lists.sourceforge.net/lists/listinfo/reduce-algebra-developers |