mozart-stdlib's Introduction
For more information on Oz and Mozart see https://mozart.github.io/ We would appreciate if you could send E-mail to the mozart-users mailing list: https://groups.google.com/forum/#!forum/mozart-users with some brief information for what you plan to use Mozart. Have lots of fun! -=Compilation=- Building mozart for Arch Linux. -------------------------------------- sudo packer -S mozart-git Building mozart for Ubuntu/Debian (x64). ---------------------------------- $ sudo apt-get install emacs flex bison tk-dev build-essential g++-multilib zlib1g-dev:i386 libgmp-dev:i386 $ mkdir -p ~/dev/mozart $ cd ~/dev/mozart $ git clone https://github.com/mozart/mozart $ mkdir build $ cd build $ ../mozart/configure --prefix=$HOME/oz --disable-contrib-gdbm $ make && make install $ export OZHOME=$HOME/oz $ export PATH=$PATH:$OZHOME/bin Change the prefix path and `OZHOME` to where you want it installed. Run `oz` to start the IDE. Building mozart for OS X ------------------------ In the instructions below, replace <username> with your Mac OS username. Install homebrew https://brew.sh + xcode dependency $ brew install emacs --with-cocoa $ brew install git gmp gdbm flex tcl-tk Install 32-bit gmp: $ curl -O https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2 $ tar xvf gmp-6.1.2.tar.bz2 $ cd gmp-6.1.2 $ ./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" ABI="32" --prefix=/Users/<username>/oz $ make $ sudo make install Build and install Mozart/Oz $ git clone https://github.com/mozart/mozart.git $ CXX="g++ -Wno-deprecated" \ PATH="/usr/local/opt/tcl-tk/bin:/usr/local/opt/flex/bin:$PATH" \ PKG_CONFIG_PATH="/usr/local/opt/tcl-tk/lib/pkgconfig" \ LDFLAGS="-L/usr/local/opt/flex/lib" \ CPPFLAGS="-I/usr/local/opt/flex/include" \ ./configure --prefix=/Users/<username>/oz --enable-modules-static \ --with-tcl=/usr/local/Cellar/tcl-tk/8.6.8/lib/ \ --with-tk=/usr/local/Cellar/tcl-tk/8.6.8/lib $ make $ make install amend and append the below to the ~/.bash_profile file export OZHOME=/Users/<username>/oz export PATH=$PATH:$OZHOME/bin In case of any errors please send a message to the hackers list and _include_ the output of the following commands: $ uname -a $ gcc --version $ lipo -info /usr/local/lib/libgmp.dylib Installation. ------------- Please refer to this website for more detail : https://mozart.github.io/mozart-v1/doc-1.4.0/install/index.html
mozart-stdlib's People
mozart-stdlib's Issues
Path.mkDir and Path.mkDirs do not work.
Migrated mozart/mozart#145 as it's a stdlib issue:
The "Path" module uses "OS.mkDir".
But is passes only one argument when OS.mkDir expects two arguments.
See platform/emulator.unix.xx
platform/emulator/modOS.spec
mozart-stdlib/os/Path.oz
getColor
Hi
I have an error while executing
functor
import
QTk at 'x-oz://system/wp/QTk.ozf'
System(show:Show)
define
V
{Show launchned}
I = {QTk.newImage photo(file:'image.gif')} in
{I getColor(1 1 V)}
end
The error raised is
%**************** Error: QTk module *********************
%
%** Error while executing a command
%
%* Object:
%* Operation: getColor(1 1 _)
%
%* Call Stack:
%* procedure 'Exception.raiseError' in PC = 139845544455584
%* procedure 'Lock' in file "/home/anthony/MozProj/mozart2/lib/main/base/Lock.oz", line 35,
column 7, PC = 139845679830631
%* procedure in file "test.oz", line 1, column 1, PC = 139845680683912
%* procedure 'RootManager,Pickle/fast' in file "/home/anthony/MozProj/mozart2/lib/main
/init/Module.oz", line 244, column 7, PC = 139845679638631
%* procedure in file "/home/anthony/MozProj/mozart2/lib/main/base/Base.oz", line 84, column 22, > PC = 139845679857828
%--------------------------------------------------------------I dont have other errors while executing functions from QTk...
Did I do something wrong?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.