# ATS language binding for MonoDevelop

**URL:** <https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183>\
**Category:** Google Group\
**Created:** [October 21, 2014, 6:13pm UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183 "2014-10-21T18:13:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmhwxi](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gmhwxi](https://discourse.ats-lang.org/u/gmhwxi)\
**Post date:** [October 21, 2014, 6:13pm UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183/1 "2014-10-21T18:13:27Z")

</div>

I changed the title of the dicussion.On Tuesday, October 21, 2014 2:04:01 PM UTC-4, Kiwamu Okabe wrote:

> Hi Artyom,
> 
> On Tue, Oct 21, 2014 at 10:47 PM, Artyom Shalkhakov \<[artyo...@gmail.com](mailto:artyo...@gmail.com) \<javascript:\>\> wrote:
> 
> > I’ve uploaded the (early, barely working) ATS language binding for  
> > MonoDevelop:
> > 
> > [GitHub - ashalkhakov/ATS-Postiats-ide: ATS/Postiats language binding for MonoDevelop](https://github.com/ashalkhakov/ATS-Postiats-ide)
> > 
> > At this point, it can (only) highlight various ATS keywords – it’s  
> > basically a stub. Hopefully it will become much better over time.
> 
> It’s a GREAT product!!!  
> I can build it and use to edit ATS dats file.
> 
> [https://github.com/master-q/ATS-Postiats-ide/blob/feature/add-screenshot-on-readme/screenshots/screenshot\_as\_editor.png](https://github.com/master-q/ATS-Postiats-ide/blob/feature/add-screenshot-on-readme/screenshots/screenshot_as_editor.png)
> 
> I have a question for the plugin.  
> Where is a correct location for MonoDevelop.ATSBinding.dll?  
> I selected MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.sln, and build  
> all.  
> Then I got DLLs at the following PATH.
> 
> > $ find . -name “\*.dll”  
> > ./MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.dll  
> > ./MonoDevelop.ATSBinding/obj/Debug/MonoDevelop.ATSBinding.dll
> 
> However, mdtool did not find the DLLs.
> 
> > $ mdtool setup pack  
> > MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.addin.xml  
> > MonoDevelop Add-in Setup Utility  
> > WARNING: [MonoDevelop.ATSBinding,0.0.1] Could not load some add-in  
> > assemblies: Could not find file  
> > “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll”.
> 
> > Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> > FATAL ERROR [2014-10-22 02:57:50Z]: System.IO.FileNotFoundException:  
> > Could not find file  
> > “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll”.
> 
> Then, I copied the DLL.
> 
> > $ cp MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.dll \   
> > MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll  
> > $ mdtool setup pack  
> > MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.addin.xml  
> > MonoDevelop Add-in Setup Utility  
> > Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> > $ file MonoDevelop.ATSBinding\_0.0.1.mpack  
> > MonoDevelop.ATSBinding\_0.0.1.mpack: Zip archive data, at least v2.0 to  
> > extract
> 
> Is it a correct build flow?
> 
> Thank’s!!!
> 
> ## P.S. And also report it in Japanese. [#monodevelop を使った #ATS2 IDEについて - Togetter](http://togetter.com/li/735137)
> 
> Kiwamu Okabe at METASEPI DESIGN

---

<div class="post-metadata">

**Author:** ![Artyom\_Shalkhakov](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Artyom\_Shalkhakov](https://discourse.ats-lang.org/u/Artyom_Shalkhakov)\
**Post date:** [October 22, 2014, 7:04am UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183/2 "2014-10-22T07:04:01Z")

</div>

Hi Hongwei, Kiwamu,

> Hi Hongwei,

> > How did you get Mono-3 and MonoDevelop-5? You built them  
> > from source on your own?
> 
> I just type “apt-get install monodevelop” on Debian sid.
> 
> > $ uname -a  
> > Linux casper 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86\_64  
> > GNU/Linux  
> > $ apt-cache show monodevelop|grep “^Version”  
> > Version: 5.5.0.227-1  
> > $ mono --version|grep “version”  
> > Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-7)

I managed to compile a parallel Mono environment and MonoDevelop from  
sources, but it’s very hard to do (usually it fails for me).

Thankfully, the Mono project started publishing Linux binary packages:

[http://www.mono-project.com/download/#download-lin](http://www.mono-project.com/download/#download-lin)

I’ve installed the Wheezy packages as described there. Things seem to work  
fine.

---

<div class="post-metadata">

**Author:** ![gmhwxi](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gmhwxi](https://discourse.ats-lang.org/u/gmhwxi)\
**Post date:** [October 22, 2014, 3:08am UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183/3 "2014-10-22T03:08:35Z")

</div>

Hi Kiwamu,

How did you get Mono-3 and MonoDevelop-5? You built them  
from source on your own?On Tuesday, October 21, 2014 2:17:16 PM UTC-4, gmhwxi wrote:

> ---------- Forwarded message ----------  
> From: Hongwei Xi \<hwxi@…\>  
> Date: Tue, Oct 21, 2014 at 2:16 PM  
> Subject: ATS language binding for MonoDevelop
> 
> I changed the title of the dicussion.
> 
> On Tuesday, October 21, 2014 2:04:01 PM UTC-4, Kiwamu Okabe wrote:  
> Hi Artyom,
> 
> On Tue, Oct 21, 2014 at 10:47 PM, Artyom Shalkhakov [artyo...@gmail.com](mailto:artyo...@gmail.com) wrote:
> 
> ```
> > I've uploaded the (early, barely working) ATS language 
> 
> ```
> 
> binding for  
> \> MonoDevelop:  
> \>  
> \> [GitHub - ashalkhakov/ATS-Postiats-ide: ATS/Postiats language binding for MonoDevelop](https://github.com/ashalkhakov/ATS-Postiats-ide)  
> \>  
> \> At this point, it can (only) highlight various ATS keywords  
> – it’s  
> \> basically a stub. Hopefully it will become much better over  
> time.
> 
> ```
> It's a GREAT product!!!
> I can build it and use to edit ATS dats file.
> 
> https://github.com/master-q/ATS-Postiats-ide/blob/feature/
> 
> ```
> 
> add-screenshot-on-readme/screenshots/screenshot\_as\_editor.png
> 
> ```
> I have a question for the plugin.
> Where is a correct location for MonoDevelop.ATSBinding.dll?
> I selected MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.sln, 
> 
> ```
> 
> and build all.  
> Then I got DLLs at the following PATH.
> 
> ```
> > $ find . -name "*.dll"
> > ./MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.
> 
> ```
> 
> dll  
> \> ./MonoDevelop.ATSBinding/obj/Debug/MonoDevelop.ATSBinding.  
> dll
> 
> ```
> However, mdtool did not find the DLLs.
> 
> > $ mdtool setup pack MonoDevelop.ATSBinding/
> 
> ```
> 
> MonoDevelop.ATSBinding.addin.xml  
> \> MonoDevelop Add-in Setup Utility  
> \> WARNING: [MonoDevelop.ATSBinding,0.0.1] Could not load some  
> add-in assemblies: Could not find file  
> “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
> ATSBinding/MonoDevelop.ATSBinding.dll”.  
> \> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> FATAL ERROR [2014-10-22 02:57:50Z]: System.IO.FileNotFoundException:  
> Could not find file  
> “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
> ATSBinding/MonoDevelop.ATSBinding.dll”.
> 
> ```
> Then, I copied the DLL.
> 
> > $ cp MonoDevelop.ATSBinding/bin/
> 
> ```
> 
> Debug/MonoDevelop.ATSBinding.dll   
> \> MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll  
> \> $ mdtool setup pack MonoDevelop.ATSBinding/  
> MonoDevelop.ATSBinding.addin.xml  
> \> MonoDevelop Add-in Setup Utility  
> \> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> $ file MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> MonoDevelop.ATSBinding\_0.0.1.mpack: Zip archive data, at  
> least v2.0 to extract
> 
> ```
> Is it a correct build flow?
> 
> Thank's!!!
> 
> P.S.
> And also report it in Japanese. http://togetter.com/li/735137
> --
> Kiwamu Okabe at METASEPI DESIGN
> 
> ```

---

<div class="post-metadata">

**Author:** ![Artyom\_Shalkhakov](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Artyom\_Shalkhakov](https://discourse.ats-lang.org/u/Artyom_Shalkhakov)\
**Post date:** [October 22, 2014, 3:09am UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183/4 "2014-10-22T03:09:06Z")

</div>

> ---------- Forwarded message ----------  
> From: Hongwei Xi \<hw…@bu.edu \<javascript:\>\>  
> Date: Tue, Oct 21, 2014 at 2:16 PM  
> Subject: ATS language binding for MonoDevelop  
> To: Hongwei Xi \<[gmh...@gmail.com](mailto:gmh...@gmail.com) \<javascript:\>\>
> 
> I changed the title of the dicussion.

Thanks, Hongwei.

> Hi Artyom,

> ```
> > I've uploaded the (early, barely working) ATS language 
> 
> ```
> 
> binding for  
> \> MonoDevelop:  
> \>  
> \> [GitHub - ashalkhakov/ATS-Postiats-ide: ATS/Postiats language binding for MonoDevelop](https://github.com/ashalkhakov/ATS-Postiats-ide)  
> \>  
> \> At this point, it can (only) highlight various ATS keywords  
> – it’s  
> \> basically a stub. Hopefully it will become much better over  
> time.
> 
> ```
> It's a GREAT product!!!
> I can build it and use to edit ATS dats file.
> 
> https://github.com/master-q/ATS-Postiats-ide/blob/feature/
> 
> ```
> 
> add-screenshot-on-readme/screenshots/screenshot\_as\_editor.png
> 
> ```
> I have a question for the plugin.
> Where is a correct location for MonoDevelop.ATSBinding.dll?
> I selected MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.sln, 
> 
> ```
> 
> and build all.  
> Then I got DLLs at the following PATH.

Well, I think I’ve documented the setup correctly (in README.txt). There  
are two steps:

1. build (via MD), and pack (via mdtool command-line utility)
2. plug into MD

> ```
> > $ find . -name "*.dll"
> > ./MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.
> 
> ```
> 
> dll

This is the correct location. This directory  
(/MonoDevelop.ATSBinding.addin.xml) needs to be supplied to mdtool setup  
pack, which creates a plugin package.

> ```
> > ./MonoDevelop.ATSBinding/obj/Debug/MonoDevelop.ATSBinding.
> 
> ```
> 
> dll
> 
> ```
> However, mdtool did not find the DLLs.
> 
> > $ mdtool setup pack MonoDevelop.ATSBinding/
> 
> ```
> 
> MonoDevelop.ATSBinding.addin.xml

Yeah, it should be:

$ mdtool setup pack  
MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.addin.xml

I’m new to this stuff.

> ```
> > MonoDevelop Add-in Setup Utility
> > WARNING: [MonoDevelop.ATSBinding,0.0.1] Could not load some 
> 
> ```
> 
> add-in assemblies: Could not find file  
> “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
> ATSBinding/MonoDevelop.ATSBinding.dll”.  
> \> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> FATAL ERROR [2014-10-22 02:57:50Z]: System.IO.FileNotFoundException:  
> Could not find file  
> “/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
> ATSBinding/MonoDevelop.ATSBinding.dll”.
> 
> ```
> Then, I copied the DLL.
> 
> > $ cp MonoDevelop.ATSBinding/bin/
> 
> ```
> 
> Debug/MonoDevelop.ATSBinding.dll   
> \> MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll  
> \> $ mdtool setup pack MonoDevelop.ATSBinding/  
> MonoDevelop.ATSBinding.addin.xml  
> \> MonoDevelop Add-in Setup Utility  
> \> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> $ file MonoDevelop.ATSBinding\_0.0.1.mpack  
> \> MonoDevelop.ATSBinding\_0.0.1.mpack: Zip archive data, at  
> least v2.0 to extract
> 
> ```
> Is it a correct build flow?
> 
> ```

Well, somebody (Sylvain Nahas?) remarked in MD wiki that it is possible to  
symlink bin/Debug directory in some other directory that is scanned by MD  
at startup for plugins. Then it wouldn’t be necessary to install the plugin  
by hand. That didn’t work for me, so I resorted to building a package and  
installing it by hand.

> ```
> Thank's!!!
> 
> ```

You are welcome!

---

<div class="post-metadata">

**Author:** ![gmhwxi](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gmhwxi](https://discourse.ats-lang.org/u/gmhwxi)\
**Post date:** [October 21, 2014, 6:17pm UTC](https://discourse.ats-lang.org/t/ats-language-binding-for-monodevelop/183/5 "2014-10-21T18:17:16Z")

</div>

I changed the title of the dicussion.

Hi Artyom,

```
        > I've uploaded the (early, barely working) ATS language

```

binding for  
\> MonoDevelop:  
\>  
\> [https://github.com/ashalkhakov/ATS-Postiats-ide](https://github.com/ashalkhakov/ATS-Postiats-ide)  
\>  
\> At this point, it can (only) highlight various ATS keywords  
– it’s  
\> basically a stub. Hopefully it will become much better over  
time.

```
        It's a GREAT product!!!
        I can build it and use to edit ATS dats file.

        https://github.com/master-q/ATS-Postiats-ide/blob/feature/

```

add-screenshot-on-readme/screenshots/screenshot\_as\_editor.png

```
        I have a question for the plugin.
        Where is a correct location for MonoDevelop.ATSBinding.dll?
        I selected MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.sln,

```

and build all.  
Then I got DLLs at the following PATH.

```
        > $ find . -name "*.dll"
        > ./MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.dll
        > ./MonoDevelop.ATSBinding/obj/Debug/MonoDevelop.ATSBinding.dll

        However, mdtool did not find the DLLs.

        > $ mdtool setup pack MonoDevelop.ATSBinding/

```

MonoDevelop.ATSBinding.addin.xml  
\> MonoDevelop Add-in Setup Utility  
\> WARNING: [MonoDevelop.ATSBinding,0.0.1] Could not load some  
add-in assemblies: Could not find file  
"/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
ATSBinding/MonoDevelop.ATSBinding.dll".  
\> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
\> FATAL ERROR [2014-10-22 02:57:50Z]:  
System.IO.FileNotFoundException:  
Could not find file  
"/home/kiwamu/src/ATS-Postiats-ide/MonoDevelop.  
ATSBinding/MonoDevelop.ATSBinding.dll".

```
        Then, I copied the DLL.

        > $ cp MonoDevelop.ATSBinding/bin/Debug/MonoDevelop.ATSBinding.dll

```

\> MonoDevelop.ATSBinding/MonoDevelop.ATSBinding.dll  
\> $ mdtool setup pack MonoDevelop.ATSBinding/  
MonoDevelop.ATSBinding.addin.xml  
\> MonoDevelop Add-in Setup Utility  
\> Creating package MonoDevelop.ATSBinding\_0.0.1.mpack  
\> $ file MonoDevelop.ATSBinding\_0.0.1.mpack  
\> MonoDevelop.ATSBinding\_0.0.1.mpack: Zip archive data, at  
least v2.0 to extract

```
        Is it a correct build flow?

        Thank's!!!

        P.S.
        And also report it in Japanese. http://togetter.com/li/735137
        Kiwamu Okabe at METASEPI DESIGN
```
