This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
On Sunday, February 1, 2015 at 5:11:32 PM UTC-5, Brandon Barker wrote:
It seems that the ocaml highligher still does a reasonable job of
coloring atxt files: https://github.com/githwxi/ATS-Postiats/blob/
6ca7f1a55e83a4966e7e4efa8dbdbc94851fd412/prelude/DATS/
CODEGEN/integer.atxt
I assume that using the ATS highlighter would be similar.
On Sat, Jan 31, 2015 at 11:13 PM, gmhwxi gmh...@gmail.com wrote:
Atext files are still in active use.
There is just no plan to improve the handling of Atext files.
On Saturday, January 31, 2015 at 8:51:24 PM UTC-5, Brandon Barker wrote:
re: the github thread, do we actually want to remove atxt - is it being
deprecated?
On Fri, Jan 30, 2015 at 4:46 PM, Brandon Barker brand...@gmail.com wrote:
Great, looking forward to it! But yes, as Hongwei pointed out as well,
I am prepared to wait a while and possibly give it a nudge after a few days.
On Fri, Jan 30, 2015 at 1:34 PM, Steinway Wu stei...@gmail.com wrote:
This is a very ugly ats mode for sublimetext, but at least it is
better than nothing. Hopefully it will make you a little bit happier if you
are using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
Great, looking forward to it! But yes, as Hongwei pointed out as well, I am
prepared to wait a while and possibly give it a nudge after a few days.On Fri, Jan 30, 2015 at 1:34 PM, Steinway Wu stein...@gmail.com wrote:
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
Thank you!
–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to ats-lang...@googlegroups.com.
To post to this group, send email to ats-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16% 40googlegroups.com.
This is a very ugly ats mode for sublimetext, but at least it is
better than nothing. Hopefully it will make you a little bit happier if you
are using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. […]
Better than nothing too, is the language definition file added as
attachment to this message, I’m using for GtkSourceView based editors
(Gedit and rather Medit, actually). I’m also adding the MIME type
definition and icon file to be used by people running a Freedesktop aware
environment.
The language definition file is subject to change, as I’m incrementally
updating and refining it, but as this thread shown up, I’m posting it here
(it’s not perfect, but good enough).
Note: I’m using a slightly modified Solarized Dark theme, and I have not
check the language definition looks good with other themes.
For now, I think focusing on showtype messages would be a good idea.
Could you make a wrapper, say, patscc-pp for patscc? I use pp to refers to
pretty-printing.
If one runs patscc-pp, then one should be able to see prettified
warning/error messages.
In this way, everyone using ATS could benefit.
Of course, patscc-pp should be modular in the sense that the way that
message prettifying
is done can be readily customized.On Sunday, May 17, 2015 at 4:05:44 PM UTC-4, Yannick Duchêne wrote:
Le dimanche 17 mai 2015 07:04:00 UTC+2, Yannick Duchêne a écrit :
I added a tiny utility to reformat messages from ATS. This may be useful
to messages pans of editors which has the capability to run external tools
(I use it with MEdit, alias MooEdit) . My apologizes for not releasing as
ATS, which may be done a future day (the Python source does not make use of
regexp, on purpose).
Instructions for use and what re‑formating is applied, is explained in
the file it‑self:
I’m interested in comments on additional re‑formating I would like to add.
I would like to specifically re‑format message from showtype, displaying
things like S2Ecst(false_bool) as false, empty predicate ; ; as true, application like in S2Eapp(S2Ecst(set); S2Evar(s)) as something
like (cst-set var-s) or may be cst-set(var-s), writing ∃ instead of S2Eexi and ∀ instead of S2Euni, added indentation for nested
expressions, things like that. Note there are already some dirty and simple
re-formating apply, I’m talking about further re-formating.
I have a doubt, I feel it may be nice, while in the mean time, I’m afraid
this would be too far from the real messages from ATS and JSON output, so
that it may disturb more than it would help.
In your opinion: would this help or would this disturb?
Or may be a supplementary filter to be explicitly applied on showtype’s
output expressions would be better? I mean, something like “copy/paste,
then invoke a filter to reformat”.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
I added a tiny utility to reformat messages from ATS. This may be useful
to messages pans of editors which has the capability to run external tools
(I use it with MEdit, alias MooEdit) . My apologizes for not releasing as
ATS, which may be done a future day (the Python source does not make use of
regexp, on purpose).
Instructions for use and what re‑formating is applied, is explained in the
file it‑self:
I’m interested in comments on additional re‑formating I would like to add.
I would like to specifically re‑format message from showtype, displaying
things like S2Ecst(false_bool) as false, empty predicate ; ; as true, application like in S2Eapp(S2Ecst(set); S2Evar(s)) as something
like (cst-set var-s) or may be cst-set(var-s), writing ∃ instead of S2Eexi and ∀ instead of S2Euni, added indentation for nested
expressions, things like that. Note there are already some dirty and simple
re-formating apply, I’m talking about further re-formating.
I have a doubt, I feel it may be nice, while in the mean time, I’m afraid
this would be too far from the real messages from ATS and JSON output, so
that it may disturb more than it would help.
In your opinion: would this help or would this disturb?
Or may be a supplementary filter to be explicitly applied on showtype’s
output expressions would be better? I mean, something like “copy/paste,
then invoke a filter to reformat”.
I added a tiny utility to reformat messages from ATS. This may be useful to
messages pans of editors which has the capability to run external tools (I
use it with MEdit, alias MooEdit) . My apologizes for not releasing as ATS,
which may be done a future day (the Python source does not make use of
regexp, on purpose).
For now, I think focusing on showtype messages would be a good idea.
I entirely agree!
Could you make a wrapper, say, patscc-pp for patscc? I use pp to refers to
pretty-printing.
If one runs patscc-pp, then one should be able to see prettified
warning/error messages.
In this way, everyone using ATS could benefit.
I had a wrapper in mind too, but though a pipe filter may be more easy to
use. I will look at the other thread, about patscc-pp. Otherwise, yes, a
wrapper is a good idea.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
re: the github thread, do we actually want to remove atxt - is it being
deprecated?On Fri, Jan 30, 2015 at 4:46 PM, Brandon Barker brandon...@gmail.com wrote:
Great, looking forward to it! But yes, as Hongwei pointed out as well, I
am prepared to wait a while and possibly give it a nudge after a few days.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
Thank you!
–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to ats-lang...@googlegroups.com.
To post to this group, send email to ats-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16% 40googlegroups.com.
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. […]
Better than nothing too, is the language definition file added as
attachment to this message, I’m using for GtkSourceView based editors
(Gedit and rather Medit, actually). I’m also adding the MIME type
definition and icon file to be used by people running a Freedesktop aware
environment.
The language definition file is subject to change, as I’m incrementally
updating and refining it, but as this thread shown up, I’m posting it here
(it’s not perfect, but good enough).
Note: I’m using a slightly modified Solarized Dark theme, and I have not
check the language definition looks good with other themes.
It’s just been updated: I had a feeling proper colorization for extern
blocks was really needed. Explanations about how to use it, is given in the
README.md file (for short, it use a language tag as a comment just before
the extern block).
If we’re thinking of the same thing, Will worked on ATS source recognition
in github, but the highlighter is set to ocaml currently (iirc).On Mon, Jan 26, 2015 at 10:52 AM, Steinway Wu stein...@gmail.com wrote:
Good idea! I think @Will Blair has done that? I’m not sure but I will take
a look. If needed I will do that.
On Sunday, January 11, 2015 at 1:29:46 AM UTC-5, Brandon Barker wrote:
This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
Thank you!
–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to ats-lang...@googlegroups.com.
To post to this group, send email to ats-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16% 40googlegroups.com.
This is a very ugly ats mode for sublimetext, but at least it is
better than nothing. Hopefully it will make you a little bit happier if you
are using sublimetext. Also, I believe it should work with textmate, too.
And you are welcome to modify or contribute to it.
Thank you!
–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to ats-lang...@googlegroups.com.
To post to this group, send email to ats-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16%40go oglegroups.com.
I’m interested in comments on additional re‑formating I would like to add.
I would like to specifically re‑format message from showtype, displaying
things like S2Ecst(false_bool) as false, empty predicate ; ; as true, application like in S2Eapp(S2Ecst(set); S2Evar(s)) as something
like (cst-set var-s) or may be cst-set(var-s), writing ∃ instead of S2Eexi and ∀ instead of S2Euni, added indentation for nested
expressions, things like that. Note there are already some dirty and simple
re-formating apply, I’m talking about further re-formating.
For now, here is a sample output (not on Github, only at home):