Git Product home page Git Product logo

cljs4excel's People

Contributors

cfelde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rowhit opengb

cljs4excel's Issues

Proper loading of scripts

Currently, the REPL is used directly to load ClojureScript code. As the REPL doesn't accept more than one line at a time, and this severely limits its ability to load anything more than simple one-liners.

As an example: The core functions defined in app/cljs4excel.cljs are copied to app/cljs4excel0.cljs where they are defined as one-liners, in order to load them on startup.

This should be fixed so that any valid cljs file can be loaded.

Setter and getter utility functions

Add some further utility functions to make it easier to set and get multiple bindings in one go.

I imagine something like:

(get-binding-data '(id1 id2 id3 id..) fn)
(set-binding-data! id1 matrix1 id2 matrix2 id3 matrix3..)

So that would, if done like that, be extensions to the existing functions.

Add (boot ..) function

The purpose of (boot ..) would be to easily bundle Excel files with ClojureScript. ClojureScript could then be embedded in the document, and the boot function would eval that. This saves you from having to include external ClojureScript.

Not 100% on the arguments for boot, but potentially two variants:

(boot "named item") ; Load ClojureScript from a named item or A1 style reference
(boot :selection) ; Load ClojureScript from current selection

Google Docs

I love this project! I'm trying to decide right now about an OS choice for a bunch of people and projects. If I could run something like this in Google Sheets with Apps Script I would be able to use ChromeOS or a *nix universally. But Excel on Windows has SO MUCH GOOD STUFF. Is there a path to compose with Excel but still use Google Docs as a backend?

Improve scratchpad editor

Currently the scratchpad editor (opened with (show-sp)) is a simple textarea. It would be nice if this was enhanced to be a more feature rich code editor with clojurescript syntax highlighting, etc.

add (fill-binding-data! ..) function to help fill output to binding shape

A (fill-binding-data! [id] [seq]) function should be made available to fill an existing binding with data from sequence.

The function would flatten the given sequence and fill the binding from left-to-right and top-to-bottom determined by the shape of the binding. If the sequence is smaller than the area of the binding, any remaining space would be left blank.

Scratch editor shows no prompt after finishing loading with the prepackaged cljs4excel

I followed the instruction at https://www.cljs4excel.com/
After inserting app, I did see the text "cljs4excel" (where "OfficeApp2" is in the illustration at the web page: https://www.cljs4excel.com/)
at the right panel next to my spreadsheet, underneath the text, in the same panel, I saw blank white area, but not prompt at all, and I could not enter any text there.

Please advise how to investigate the problem.

I'm on Windows 7 with Excel 2013.

Thanks,

Usage examples

I'm working on a few use case examples showing how the REPL can be used together with Excel to solve problems, illustrate solutions, educate users, etc. I think this is something anyone can help out with, so if you have ideas or suggestions please feel free to help out.

I hope to have one example or two committed in not too long, which might help illustrate further.

Convert into compilable Leiningen project

At the moment, for v0.1, it's just a bunch of files that can be loaded by the Excel Add-in browser. That's all fine for a proof-of-concept, but really it should be changed into a more traditional ClojureScript project.

That would make it easier to extend and improve.

Replumb looks promising as a CLS REPL library (https://github.com/ScalaConsultants/replumb) so will be evaluated for this purpose.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.