Questions tagged [cm]

The SML/NJ Compilation Manager (CM)

CM is a tool that helps compiling Standard ML projects.

15 questions
5
votes
1 answer

SML/NJ using CM.make: "Error: illegal character"

I'm trying to compile the following program from Shipman's Unix System Programming with Standard ML: structure Main= struct fun main(arg0, argv) = ( case argv of [] => () | (first::rest) => ( …
gotchops
  • 53
  • 4
5
votes
1 answer

Resolve library conflict in SML/NJ Compilation Manager

I'm using SML/NJ 110.79, which includes support for new structures defined by the Successor ML project. Among others, the Fn structure. As it happens, I already had an identically named structure in one of my personal project with utilities, which…
Ionuț G. Stan
  • 176,118
  • 18
  • 189
  • 202
4
votes
1 answer

Unbound structure Int when compiling useing CM.make

I'm compiling a lexer using CM and ML-Lex. When I try to compile using CM.make "sources.cm", it throws errors. errormsg.sml:7.24-7.39 Error: unbound structure: TextIO in path TextIO.instream errormsg.sml:21.26-21.38 Error: unbound structure: TextIO…
2
votes
1 answer

CM.make cannot find file "smlnj-lib.cm"

When I try to use smlnj-lib.cm in a .cm file, I get this error: I installed SML/NJ using Homebrew on MAC OS X 10.14.2. /usr/local/smlnj/bin is in .bash_profile, .bash_profile is updated. sources.cm file: Group…
1
vote
1 answer

Error while using HashTable structure in files used in a CM file

I am using a CM file "build.cm" to compile my sml files. In the file symbol_table.sml, I have used the structure HashTable from the sml basis library. When the CM file is run, I receive an error saying HashTable is an unbounded…
Aaveg jain
  • 11
  • 2
1
vote
0 answers

Starting robocopy as a service

I cant figure out what I'm doing wrong because the command runs perfect in the command line but not the file. I also tried doing multiple sources and destinations so I thought that was the problem, but i guess now it's not. Can anybody help me ? I'm…
1
vote
0 answers

Create device tree for CM from AOSP?

So my phone has no development for CM13 (soon 14), but there is quite some development regarding the AOSP 6/7 branch. The device trees are very different, meaning that CM has a lot more files than the AOSP one. So my question is if there is any easy…
0
votes
1 answer

Convert pixels to cm using Python

I would like to know what am I doing wrong with this code : if self.digital: im = Image.open(os.path.join(folder, filename)) width, height = im.size image_info["width"] = round(width / 37.79527559055, 0) I would like to use this code to…
Pythonmaru
  • 17
  • 4
0
votes
1 answer

If I create a dataLayer vairable in GTM to capture a dynamic value, the event pixel (part of CM floodlight) needs to be placed on site, correct?

I am implementing Campaign Manager floodlight tags in Google Tag Manager. As I am trying to capture dynamic values, do I create a dataLayer variable with double brackets, ex: {{cost}} in GTM, then request the event pixel be placed on site? Will the…
0
votes
2 answers

run multiple commands in windows cmd using Process class in java

Im using a java application for creating a .pdf file. It writes the .tex file so Miktex can create a pdf. writePDF(s); String command = "cmd /c start xelatex -synctex=1 -interaction=nonstopmode " + s + ".tex && del " + s + ".tex"; Runtime…
Varejator
  • 17
  • 7
0
votes
1 answer

CM_Stochastic Highlight Bars by Chris Moody?? Alerts

Can anyone tell me how precisely to set up alerts on tradingview (i do know how to set up alerts..) specific to the "Strict Buy" criteria in the CM_Stochastic Highlight Bars indicator??? I have done a lot of searching but with little luck. Thank you…
0
votes
0 answers

Java mesurements

I wanted to program a little Program that generates an addition task with 4 random numbers with measurements, like 45mm+34dm+ and so on.... The second function is: when the user enters the right solution, in mm measurements in the console, the…
0
votes
1 answer

Buycraft ::before keeping from left

I have a store here *please excuse the dust. I am trying to get the logo to the left in header, but it looks like there is a div.header::before but it isn't in my css and I am assuming built in the cms somewhere. I have tried position: absolute; and…
tmoflash
  • 25
  • 1
  • 8
0
votes
1 answer

An error occurred when I used "CM.make();" in SML,Ubuntu

This is my first time that I used ubuntu and SML/NJ. And this question occurred to me when i used the expression CM.make(): Standard ML of New Jersey v110.76 [built: Tue Oct 22 14:04:11 2013] - CM.make() ; [autoloading] [library $smlnj/cm/cm.cm…
polaris
  • 1
  • 1
-1
votes
2 answers

To can I find out the selected range in pixels?

How can I find out the selected region in pixels in Photoshop? By default its showing in centimeters. I want to know the selected range in pixels.
Sugan Krishna
  • 413
  • 4
  • 11