On Tue, Mar 16, 2021 at 10:27 AM Bruce Westbury <
brucew...@gmail.com> wrote:
>
> I liked the idea of being able to write a custom javascript interface to Sage and came across SageMathCell. I couldn't see how this worked and looked inside embedded_sagecell.js and got a shock. It is over 30K lines of code with an unreadable block of over 100 lines in the middle.
It sounds like you're looking at **autogenerated code**. The actual
source code of SageMathCell is here:
https://github.com/sagemath/sagecell
I'm not sure what your web development background is, but I'll just
mention that many modern web applications combine a wide range of
libraries into a single file as part of the build/compilation
process...
> At one point it includes:
>
> Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
>
> Does this mean it has not been updated since 2012?
> Has the javascript been generated by Dojo?
>
> Another problem is that the print example fails because it uses Python 2.
> This all gives the impression that this code is not being maintained.
>
> This is an active group so clearly people are using this. Does anyone know how it works?
>
> --
> You received this message because you are subscribed to the Google Groups "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-cell+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/1848a6d7-f20d-41ff-8896-aa59c034f93an%40googlegroups.com.
--
William (
http://wstein.org)