DomTerm icon indicating copy to clipboard operation
DomTerm copied to clipboard

A new DomTerm/Julia calculator

Open jingyuewang opened this issue 4 years ago • 7 comments

I wrote a calculator shell that leverages the power of Julia and DomTerm. I'm excited to see the new RoadMap and waiting for the new JavaScript extension mechanism to make math typesetting work on Chrome :)

https://github.com/jingyuewang/DtCalc.jl

jingyuewang avatar Aug 25 '21 04:08 jingyuewang

Looks really nice!

For MathML on Linux I suggest using the webview front-end (-Bwebview), as that is based on WebKit.

Let me know if if you need/want something, and what your priorities are. Right now my big issue is getting the port to GoldenLayout v2.x solid (it's close to usable now). After that I can explore what it would take to get MathJax working.

PerBothner avatar Aug 25 '21 04:08 PerBothner

Great, I'm temporarily freezing features and testing the current version so there is no hurry to add MathJax. My next step is adding UnicodeMath support which can be done in the current setting.

jingyuewang avatar Aug 25 '21 05:08 jingyuewang

You might also want to look into the "input" side of the REPL, not just the "output": Look into "shell integration". If you haven't already done so, you might get some idea from the "Python tips" page.

PerBothner avatar Aug 25 '21 06:08 PerBothner

I added a short note in the Projects using DomTerm section. We can flush it out if you want.

PerBothner avatar Sep 03 '21 20:09 PerBothner

Sure, I'll need a little time to digest you documentations coz I'm currently dragged by many other things at the beginning of the new semeter (fall semester starts at Sep 1 in China). Actually the "input" side is exactly what I want to improve the Julia REPL (probably can be integrated with UnicodeMath).

jingyuewang avatar Sep 04 '21 15:09 jingyuewang

When you have time I'll be happy to help.

When it comes to "input" the basic idea to to have Julia emit either these sequences or these sequences.

Later, you can have DomTerm do all the input editing using line editing mode. This would replace Julia input-editor (the readline library or equivalent). The main issue is tab-completion, which is not implemented and would need a protocol between the application (Julia) and DomTerm. I have a desgn in my head for this.

PerBothner avatar Sep 04 '21 15:09 PerBothner

Thanks for the references. I'll study them.

jingyuewang avatar Sep 04 '21 16:09 jingyuewang