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 <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

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. #monodevelop を使った #ATS2 IDEについて - Togetter

Kiwamu Okabe at METASEPI DESIGN

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

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

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 wrote:

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

binding for
> MonoDevelop:
>
> GitHub - ashalkhakov/ATS-Postiats-ide: ATS/Postiats language binding for MonoDevelop
>
> 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

---------- 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 <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
>
> 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!

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
>
> 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