Metacello new
baseline: 'ArchC';
repository: 'github://shingarov/Pharo-ArchC:pure-z3';
load.
Either use shortcut:
```
git clone https://github.com/shingarov/Pharo-ArchC ArchC
cd ArchC/pharo
make
pharo-ui ArchC.image
```
...or do it by hand:
Clone the repository
git clone https://github.com/shingarov/Pharo-ArchC ArchC
Get PDLs:
cd ArchC
./get-pdls.sh
Alternatively, you may symlink pdl
directory wherever you keep your PDLs
Download Pharo
mkdir ArchC/pharo
cd ArchC/pharo
# Be carefull, running a script downloaded from internet is not advisable!
curl https://get.pharo.org/64/80+vm | bash
Load code into Pharo image:
./pharo Pharo.image save archc
./pharo archc.image metacello install tonel://../src BaselineOfArchC
./pharo archc.image eval --save "(IceRepositoryCreator new location: '..' asFileReference; createRepository) register"
NOTE: Following instruction assume you recent Smalltalk/X jv-branch , i.e., version newer than 2020-09-15 (older versions might not have Tonel support built).
Install MachineArithmetic. Follow instructions in README.md
Clone the repository:
git clone https://github.com/shingarov/Pharo-ArchC.git.git
In Smalltalk/X, execute:
"/ Tell Smalltalk/X where to look for MachineArithmetic packages
Smalltalk packagePath add: '/where/you/cloned/it/MachineArithmetic'.
"/ Tell Smalltalk/X where to look for ArchC packages
Smalltalk packagePath add: '/where/you/cloned/it/Pharo-ArchC/src'.
Smalltalk loadPackage: 'BaselineOfArchC'.