[NTG-context] Latin setupmathematics

Hans Hagen pragma at wxs.nl
Mon May 16 11:10:18 CEST 2016


On 5/16/2016 10:59 AM, Hans Åberg wrote:
>
>> On 16 May 2016, at 10:48, Hans Hagen <pragma at wxs.nl> wrote:
>
>>>> interesting tex was flexible enough to survive many decades
>>>
>>> Other survivors are C, C++, Scheme. With TeX, change may start as with Lua, only some better syntax for text input.
>>
>> that always depend on the content; for complex docs tex or xml is ok (and best)
>
> The TeX syntax is too loose to do input that is close to the input. For example, in math, if properly parsed, the "{…}” can often be replaced by the normal “(…)”, and the the engine can decide to remove them when unnecessary, as in say e^(x+y).

asciimath tries to do that (is supported in context) but it has to be 
used very structured in order to not run into its weird aspects

>>> So such issues lead towards to the design of a new language, rather than relying on an already existing.
>>
>> and then the not foreseen limitations in that language and ugly extensions spoil it ... (btw, the nice thing about lua is that it's so stable)
>
> One might focus on different parts communicating via the semantics of the underlying engine. Then with extensions, it is not necessary to know the syntax of other additions when writing the code. This is roughly how pure math works, and also the point extensible computer languages to get stuck on. And this is alos how Lua was added ro TeX.
>
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list