Questions tagged [development]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

Import the package (.wl) file in the notebook (.nb) format to help understand it

It's well known that mathematica use .wl file to store a package, which has very different writing flavor and execute behavior from those of the notebook (.nb) file. In general, IMO, the package (.wl) ...
user avatar
46 votes
6 answers
3k views

How could Wolfram Research increase Wolfram Language adoption?

Introduction Hello, this is a more general question than is typically asked here. However, I chose to post it here because this seems to be the most active community for Wolfram Language / Mathematica ...
user avatar
3 votes
0 answers
31 views

Missing Hover and Autocomplete INFO Buttons for Custom Paclet

I've built my own paclet application with documentation using Workbench 3 (Eclipse add-in 10.1.822) with MM 12.1 (there are currently issues with 12.2-3 and the only Workbench add-in update, which I'm ...
user avatar
2 votes
0 answers
46 views

Question to developers: what are the actual or potential difficulties in implementing split-complex unity $j$ out of the box?

I wonder, what are some real or potential and purely theoretic difficulties you may face if you decided to implement the split-complex unity $j$ such that $j^2=1$ along with already existing complex ...
user avatar
  • 2,751
1 vote
0 answers
49 views

Tutorial notebook on GitHub [duplicate]

I am currently writing a Mathematica package containing several functions I developed in the last few years to perform computations in quantum physics. I am planning to put a preliminary version of ...
user avatar
11 votes
2 answers
297 views

How to provide latest paclet version

I've made a package available on github, which can be installed with ...
user avatar
  • 17.7k
12 votes
0 answers
211 views

Continuous integration (CI, software development) with Wolfram Language?

Continuous integration (in the software engineering sense) is a common method to ensure that the code in your repository works as it should after each commit. For example, you can run a set of ...
user avatar
  • 3,312
1 vote
0 answers
63 views

Change the posets300.m package since CProduct does not work

I want to build a Cartesian product of two posets (say chain[2] and chain[2]). I wrote ...
user avatar
5 votes
1 answer
119 views

How to enforce priority on custom directory over paclets default repository

As explained in $Path hijacked by PacletManager? loading packages from custom directories may not be so intuitive. Not to mention absolute lack of documentation of interaction between ...
user avatar
  • 132k
10 votes
1 answer
178 views

Attempts at backwards compatibility

I have written a package in Mathematica 11, and I would like to provide some backwards compatibility to earlier versions. An example is the function Echo. ...
user avatar
  • 1,268
8 votes
1 answer
223 views

Robust packages installation and updating on Cloud

Questions: What is an idiomatic way to upload/install a paclet in own Wolfram Cloud account? What is an idiomatic way to update/overwrite existing paclet? It is not tough but: PacletManager works ...
user avatar
  • 132k
22 votes
1 answer
1k views

Live code templates

I enjoy coding in the FrontEnd (except it crashes and lookup across files does not exist), but I often miss 'hands on keyboard', customizable code templates. E.g. I often forget to wrap an option ...
user avatar
  • 132k
12 votes
1 answer
261 views

How can I automatically generate all the front-end settings for a function?

I mostly write my packages within the Mathematica FE, but when I develop I never really think all the usage messages, autocompletes, syntax info, and argx patterns that a well developed function would ...
user avatar
  • 45.5k
15 votes
1 answer
606 views

Building a GitBook with Mathematica

GitBook is a fun little website that will take Markdown source material and build a little book out of it. How can I use Mathematica to build a GitBook with a minimum of effort?
user avatar
  • 45.5k
6 votes
1 answer
65 views

Can we make preread replacements in an *.m* file before being run?

This the second question of (152743), the preamble of which is reproduced here: Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an <...
user avatar
  • 19.1k
5 votes
1 answer
75 views

Can we make new definitions for InputForm in packages?

Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an .m file or just use Mathematica directly from ...
user avatar
  • 19.1k
11 votes
2 answers
312 views

Bulletproofing packages against SetOptions of built-ins

Packages are (obviously) written in terms of built-in Mathematica functions. But many (if not, most) of these functions have options, like Expand, ...
user avatar
  • 19.1k
12 votes
1 answer
258 views

Self contained APIFunction. Collecting definitions

Bug fixed in V11.2 Previously dependencies collector failed to collect check if check was only mentioned in lhs: ...
user avatar
  • 132k
14 votes
1 answer
263 views

Clean package update for API/FormFunctions on Wolfram Cloud

Cross posted on community.wolfram.com (new comments) TLDR There is a pool of kernels/sessions available for each user, you don't have control over the pool only over specific kernel you currently ...
user avatar
  • 132k
6 votes
0 answers
71 views

Keep stylesheet open after a notebook is closed

I find this behavior annoying: ...
user avatar
  • 132k
27 votes
1 answer
4k views

How to put Mathematica Notebooks and packages on Github?

In the current phase of the project I am working on I am developing a utility package which could easily be open-sourced and shared with the community IF there was an =easy= way to share a notebook / ...
user avatar
6 votes
2 answers
335 views

Write Unit Test with expected Message

Using Workbench, I would like to check if my function does emit a message under certain circumstances. How can I test this using an .mt file? I only know about the ...
user avatar
  • 1,363
18 votes
1 answer
815 views

How to handle package dependencies?

When an application written in C++ depends on some libraries, the libraries are usually shipped together with the application. Two applications that depend on the same library will not share the same ...
user avatar
  • 225k
69 votes
3 answers
3k views

How to distribute Mathematica packages as paclets?

Mathematica does have a nice package manager. Packages are called paclets, and they can be managed using the functions from the PacletManager` context. How can I ...
user avatar
  • 225k
7 votes
0 answers
95 views

Enabling "Update" button for installed packages

I found that if you navigate to the "Installed Add-Ons" page in the *Wolfram Documentation Center" accessed by following Help ▸ Wolfram Documentation ▸ Add-ons and Packages you will find a listing ...
user avatar
  • 19.1k
25 votes
3 answers
1k views

Package organization

When writing a Mathematica package Foo, with functions f1, f2 and f3, one can use the template: ...
user avatar
3 votes
0 answers
196 views

Version control in Wolfram Cloud using git

How do we integrate git or any other version control system with Wolfram Cloud? I could run a shell command with Run but in the Wolfram Cloud an error occurs saying Run::sandbox : The operation Run[...
user avatar
76 votes
1 answer
2k views

How to simplify writing LibraryLink code?

LibraryLink is an API for extending Mathematica through C or C++. It is very fast because it gives direct access to Mathematica's packed array data structure, without even needing to make a copy of ...
user avatar
  • 225k
11 votes
2 answers
209 views

Coding practice Notebooks vs. Packages: ClearAll?

I have a pretty robust workflow for developing in Notebooks. One element of that workflow is the reflexive habit of saying ClearAll just before a definition so ...
user avatar
  • 8,571
11 votes
0 answers
1k views

Which IDE do you use for Mathematica development?

After more than a year I revisited the IntelliJIDEA plugin but that still seems to be 'just' an editor, of course there is the Mathematica Workbench but why are there so few improvements? Version 10. ...
user avatar
15 votes
3 answers
5k views

Is it possible to create iOS apps with Mathematica?

I am fairly new to Mathematica and don't have much experience with other programming languages, but I can already see that Mathematica and the Wolfram language are far easier to use than most others. ...
user avatar
  • 1,692
6 votes
0 answers
176 views

Is there a package or canonical way for writing test harnesses in Mathematica?

I've written a complicated function foo.1 I'd now like to simplify this function's code, and later enhance it with more features. With each change, however, I'd ...
user avatar
104 votes
4 answers
10k views

What are the recommended settings for git when using with Mathematica projects?

Background I'm relatively new to git — currently overseeing an offshore .NET-based development project on GitHub within a private business account, but little experience beyond that. I'd like to set ...
user avatar
92 votes
2 answers
6k views

Open-source IntelliJ IDEA plugin to support Mathematica development

Although we already had a question asking for development alternatives to Wolfram Workbench, I want to ask a more specific question: One of the most advanced IDE's especially for Java programming ...
user avatar
  • 111k
3 votes
1 answer
136 views

Can I place a link to a package file (.m) in my Applications folder

I am developing a package and would like to be able to test it without having to copy the package file to my $UserBaseDirectory/Applications folder for each change, ...
user avatar
  • 3,236
169 votes
1 answer
30k views

Mathematica Minecraft

Some time ago I asked myself: with all these great graphics and interactive capabilities of Mathematica, what kinds of 3D games can be implemented in it? And the answer which came to mind is ...
user avatar
  • 12.4k
25 votes
3 answers
4k views

Best Practice to write ::usage for own package functions

I'm writing an own package with Mathematica, that I would like to make available for others. In order to do that (and for my own usage of the package), I would like to write ...
user avatar
  • 1,111
0 votes
2 answers
178 views

How to avoid restart during development? [duplicate]

Possible Duplicate: How do I clear all user defined symbols? During package development things get messed up quite often. (especially when playing with notations) Is there a simple way to reset ...
user avatar
  • 832
25 votes
3 answers
1k views

How to setup Team Development for a Mathematica project?

I am currently working solo on a project that consists of package files, munit tests, notebooks and .xls files. I use Wolfram Workbench as an IDE. I want to collaborate with others on this project. ...
user avatar
14 votes
4 answers
2k views

Strategies for avoiding and handling shadowing

When dealing with namespaces in Mathematica (BeginPackage, $ContextPath ...) one is unavoidably confronted with the problem of ...
user avatar
  • 23.1k
33 votes
0 answers
3k views

Custom package development: Basic steps [duplicate]

Every once in a while, I write a generic function that I use quite often for months to come. However, package development in Mathematica is not very well documented from what I can tell, and I was not ...
user avatar
  • 14.7k
131 votes
9 answers
28k views

Creating Mathematica packages

I'm building a package to help me write packages and their documentation. In this post I explained how to make a package and its documentation. In the answer I provided I describe how to build a very ...
user avatar
  • 6,330