PDA

View Full Version : SML compiler for Ubuntu?


lunarmelody
March 11th, 2006, 11:31 PM
Hello all,
Does anyone know if Ubuntu has a built-in sml compiler I could get using apt-get? I've tried downloading the tar.Z files from the internet, and installing those, but I keep getting a runtime error when I try to use it. If there isn't a built-in compiler I could get, does anyone know how I could fix this? Thanks!

gord
March 11th, 2006, 11:52 PM
Standard ML of New Jersey interactive compiler
SML/NJ is an implementation of the Standard ML programming language.
Standard ML has many features, including type safety, polymorphism,
algebraic data types with pattern matching, higher-order functions,
and a sophisticated module system. It is especially well-suited for
writing compilers and other language processors.

This package includes the interactive compiler (sml), the compilation
manager (CM), and some essential libraries. It is a "working"
version, but believed to be stable.

Install this package if you want to program in SML.

is that what you want?
sudo apt-get install smlnj

and make sure you have enabled extra repositorys (http://help.ubuntu.com/starterguide/C/faqguide-all.html#addinguniverse) of course :)

lunarmelody
March 12th, 2006, 02:53 AM
Yes thank you! :-D

bmalavan
March 14th, 2007, 10:11 PM
hey ppl it does nt work for me....!

malavan@malavan-desktop:~$ sudo apt-get install smlnj
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package smlnj
malavan@malavan-desktop:~$

fct
March 15th, 2007, 06:00 AM
hey ppl it does nt work for me....!

Check, as gord suggested http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_apt-get_the_easy_way_.28Synaptic.29

And make sure you add universe. That's where smlnj is.