Re: [Help-source-highlight] [PATCH] Add support for Hare

2022-06-26 Thread Lorenzo Bettini
On 6/24/22 18:55, Conrad Hoffmann wrote: Hello, On 6/24/22 10:52, Lorenzo Bettini wrote: Yes, non-members require moderator approval Thanks for getting back, should have figured. Sorry for the dupe :) No problem Thanks for the contribution but it would be better if you submit the patch

Re: [Help-source-highlight] [PATCH] Add support for Hare

2022-06-24 Thread Lorenzo Bettini
t;function.lang" diff --git a/src/lang.map b/src/lang.map index a428eb6..e748a8b 100644 --- a/src/lang.map +++ b/src/lang.map @@ -11,6 +11,8 @@ cs = csharp.lang csharp = csharp.lang go = go.lang h = cpp.lang +ha = hare.lang +hare = hare.lang hh = cpp.lang H = cpp.lang hpp = c

Re: [Help-source-highlight] Is it possible to build shared source-highlight library in windows?

2016-02-10 Thread Lorenzo Bettini
ver tried that... probably you need that adjustment, and I guess you need that in many places... probably. I have no experience on windows dlls, I'm afraid. cheers Lorenzo -- Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze HOME: http://www.lorenzobettini.it Xtext Book:

Re: [Help-source-highlight] Asking for a new language support.

2016-01-25 Thread Lorenzo Bettini
vide a .lang implementation yourself :) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it Xtext Book: http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book

Re: [Help-source-highlight] zsh not working?

2015-06-09 Thread Lorenzo Bettini
On 08/06/2015 18:53, Tim Hermans wrote: > I'm using 3.1.8 on Arch Linux. > > It's happened on every file I've tried so far. > Then please file a bug report with an input file (as minimal as possible) to reproduce the problem. Thanks Lorenzo -- Lorenzo Betti

Re: [Help-source-highlight] zsh not working?

2015-06-08 Thread Lorenzo Bettini
umber.lang > opening ./script_comment.lang > opening /usr/share/source-highlight/script_comment.lang > ^C Hi which version are you using? Does this happen on any .zsh file? cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettin

Re: [Help-source-highlight] Source highlight groff outlang files.

2015-03-30 Thread Lorenzo Bettini
t; as well in the org-mode exporter. > > Regards, > Hi Luis sorry for the late reply. I'm about to include your files in source-highlight. What's the difference between _mm and _man? thanks Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME:

Re: [Help-source-highlight] HTML5

2015-03-28 Thread Lorenzo Bettini
, sorry for the long delay! I've applied your files in the git repository. thanks again Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it Xtext Book: http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xten

Re: [Help-source-highlight] [review] JSON language implementation

2015-03-28 Thread Lorenzo Bettini
On 08/04/2013 18:32, muji wrote: > Hello, > > Thanks for `source-highlight`, it is fast and easy to customize. > > I am working on a tool that required highlighting of JSON documents > printed to a terminal so I wrote a JSON language implementation[1] and > style file[2]. > > It appears to funct

Re: [Help-source-highlight] building an index of references?

2015-01-07 Thread Lorenzo Bettini
ctags would be helpful for what you need... I guess the list of api could be implemented with doxgen, if I understand what you need to do... cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it Xtext Book: http://www.p

Re: [Help-source-highlight] Incorrect tab handling

2014-08-27 Thread Lorenzo Bettini
source-highlight -d -n --gen-references=inline test.c > > If the `--gen-references' option isn't specified, tabs are correctly > processed. > > Here is the software version number: > > $ source-highlight --version > GNU Source-highlight 3.1.6 (library: 4:0:0) > Cop

Re: [Help-source-highlight] User data directory

2014-08-15 Thread Lorenzo Bettini
t path name, the installation directory name is still used, but relative to the explicit path name." This does not contradict what I said... it means that if you invoke the binary with a full path, e.g., /home/foo/bin/source-highlight, then the installation directory name... is that what you

Re: [Help-source-highlight] User data directory

2014-08-15 Thread Lorenzo Bettini
The strategy for searching for data files starts with the directory specified explicitly and then falls back to the default one so this is what you need isn't it? Messaggio inviato dal mio ASUS MeMO Pad Dario Teixeira ha scritto: >Hi, > >> You can use the --data command line argument if I un

Re: [Help-source-highlight] User data directory

2014-08-15 Thread Lorenzo Bettini
Hi You can use the --data command line argument if I understand correctly the question.. If you only use the library then you need to set up the corresponding argument when you initialize the library Cheers Lorenzo Messaggio inviato dal mio ASUS MeMO Pad Dario Teixeira ha scritto: >Hi,

Re: [Help-source-highlight] Outlang for S-expressions

2014-06-01 Thread Lorenzo Bettini
t; Thanks in advance for your time! > Kind regards, > > Dario Teixeira > > > [1] http://camlhighlight.forge.ocamlcore.org/ > [2] http://ocsigen.org/ > [3] http://ocaml.org/ Hi Dario please file a bug/issue request with all the attached information. I'm r

Re: [Help-source-highlight] Nestable background colors for Lisp code

2013-03-06 Thread Lorenzo Bettini
lexical analysis and regular expressions? These are the only mechanisms which source-highlight is based on... cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it ___ Help-source-high

Re: [Help-source-highlight] source-highlight-3.1.6 not compiling on Mac OS X

2012-06-29 Thread Lorenzo Bettini
Thanks for the feedback! I then should hurry in releasing the fixed version :) cheers Lorenzo On 06/29/2012 09:38 PM, Emil Arfvidsson wrote: That one builds fine, thanks a lot! Emil On Fri, Jun 29, 2012 at 12:14 PM, Lorenzo Bettini wrote: Hi Emil this should be fixed in the

Re: [Help-source-highlight] source-highlight-3.1.6 not compiling on Mac OS X

2012-06-29 Thread Lorenzo Bettini
mailing list Help-source-highlight@gnu.org https://lists.gnu.org/mailman/listinfo/help-source-highlight -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.c

Re: [Help-source-highlight] LilyPond language files completed

2012-04-14 Thread Lorenzo Bettini
On 04/14/2012 06:21 PM, Federico Bruni wrote: Il 14/04/2012 17:39, Lorenzo Bettini ha scritto: Federico, Lilypond lang def file is not in git HEAD :) thanks for your work :) cheers Lorenzo s/not/now :-) ooppsss... O:) -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ

Re: [Help-source-highlight] LilyPond language files completed

2012-04-14 Thread Lorenzo Bettini
led a bit but I couldn't find any good answer. Cheers, Federico ___ Help-source-highlight mailing list Help-source-highlight@gnu.org https://lists.gnu.org/mailman/listinfo/help-source-highlight -- Lorenzo Bettini, PhD in Computer Science, DI, Univ

Re: [Help-source-highlight] conditional highlight (without losing other definitions)

2012-02-26 Thread Lorenzo Bettini
sted begin environment scheme delim "(" ")" multiline nested begin include "url.lang" end environment string delim "\"" "\"" multiline begin include "url.lang" end end markup_command = '\\[[:alpha:]-]+&#x

Re: [Help-source-highlight] conditional highlight (without losing other definitions)

2012-02-22 Thread Lorenzo Bettini
On 02/22/2012 09:27 AM, Federico Bruni wrote: Il 11/02/2012 17:52, Lorenzo Bettini ha scritto: On 02/02/2012 06:09 PM, Federico Bruni wrote: Hi, I'm trying to find a smarter way to highlight some strings: All the "\strings" inside \markup{ ... } should have a different col

Re: [Help-source-highlight] conditional highlight (without losing other definitions)

2012-02-11 Thread Lorenzo Bettini
id, it should be environment markup delim '\\markup\s*\{' "}" multiline nested begin scheme_value = $SCHEME_VALUE markup_command = '\\[[:alpha:]-]+' environment markup delim "{" "}" multiline nested begin scheme_value = $SCHEME_VALUE m

Re: [Help-source-highlight] conditional highlight (without losing other definitions)

2012-02-07 Thread Lorenzo Bettini
he relevant block and highlight the \strings correctly, but at the same time it breaks something, in particular some elements lose their highlighting (as documentations says): 1) \markup 2) {} 3) #.. I didn't understand this, could you please elaborate it? cheers

Re: [Help-source-highlight] regexp for scheme blocks in lilypond language

2012-01-31 Thread Lorenzo Bettini
oing something stupid, but I can't see it. Thanks for your help, it's almost done :) ___________ Help-source-highlight mailing list Help-source-highlight@gnu.org https://lists.gnu.org/mailman/listinfo/help-source-highlight -- Lorenzo Be

Re: [Help-source-highlight] regexp for scheme blocks in lilypond language

2012-01-22 Thread Lorenzo Bettini
On 01/22/2012 12:20 PM, Federico Bruni wrote: Il 21/01/2012 15:24, Lorenzo Bettini ha scritto: Thanks, this should be the direction, but it's not so easy. First, the doc says: "Note that, in order for a delimited language element to be nested, its starting and ending elements must be

Re: [Help-source-highlight] regexp for scheme blocks in lilypond language

2012-01-21 Thread Lorenzo Bettini
On 01/18/2012 11:55 PM, Federico Bruni wrote: Il 18/01/2012 10:01, Lorenzo Bettini ha scritto: On 18/01/2012 09:54, Federico Bruni wrote: Hi, lilypond files can contain blocks of scheme code in several ways. The main challenge is handling conflicts between single and multiline and especially

Re: [Help-source-highlight] regexp for scheme blocks in lilypond language

2012-01-18 Thread Lorenzo Bettini
match balanced parentheses?). Hi very quick answer: you can match balanced parenthesis using 'nested' (see the documentation); please let me know whether this way you can solve this issue. cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16

Re: [Help-source-highlight] understanding elements

2012-01-18 Thread Lorenzo Bettini
read about it when I have time. let me know whether I can help with the regexp :) Lore -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/su

Re: [Help-source-highlight] understanding elements

2012-01-02 Thread Lorenzo Bettini
On 01/02/2012 12:11 PM, Federico Bruni wrote: Il 30/12/2011 09:53, Lorenzo Bettini ha scritto: Hi besides the lang (and style file), what I would really need is a test file to put into the test suite :) I think that the best test file is a real file. Can we use one of Mutopia? All files are

Re: [Help-source-highlight] understanding elements

2011-12-30 Thread Lorenzo Bettini
On 12/30/2011 09:40 AM, Federico Bruni wrote: 2011/12/22 Lorenzo Bettini: basically you can associate any meaning, these elements will be used only for formatting styles Great, thanks for the explanation. I want to have full control over the highlighting colours, so creating a style file is

Re: [Help-source-highlight] understanding elements

2011-12-22 Thread Lorenzo Bettini
On 18/12/2011 16:55, Federico Bruni wrote: Hi, I've finished the draft of the lilypond.lang file and I have some questions before asking for comments on my file in the lilypond-devel mailing list. 1) ELEMENTS First of all, there's any place in the doc where each element is explained? I mean: so

Re: [Help-source-highlight] adding a language (lilypond)

2011-12-20 Thread Lorenzo Bettini
On 12/20/2011 09:26 AM, Federico Bruni wrote: Il 19/12/2011 09:02, Lorenzo Bettini ha scritto: probably that's something I never thought of since I've always done this: please, try to run the configure script with this option --enable-maintainer-mode (see the --help: --enable-

Re: [Help-source-highlight] adding a language (lilypond)

2011-12-19 Thread Lorenzo Bettini
map file This returns nothing: ls /usr/local/share/source-highlight/ | grep lilypond What I've missed? See my git diff attached. I haven't done 'git add .', but I guess this is not related. I probably missed something in the Makefile, right? -- Lorenzo Bettini, PhD in Comput

Re: [Help-source-highlight] compiling in build?

2011-12-14 Thread Lorenzo Bettini
On 12/13/2011 11:42 PM, Federico Bruni wrote: Il 11/12/2011 23:04, Lorenzo Bettini ha scritto: Ciao Federico usually, shadow builds are the recommended way to compile sources, so I didn't mention it in the documentation, but you're right about it :) please file a ticket

Re: [Help-source-highlight] adding a language (lilypond)

2011-12-13 Thread Lorenzo Bettini
On 12/13/2011 01:08 AM, Federico Bruni wrote: Il 12/12/2011 10:58, Lorenzo Bettini ha scritto: On 12/11/2011 11:55 PM, Federico Bruni wrote: Finally, if you add a .lang file in the lang.map file, if you want to install it, you'll also have to modify Makefile.am by adding your .lang file t

Re: [Help-source-highlight] Boost Regex library linking problem

2011-12-12 Thread Lorenzo Bettini
On 09/27/2011 09:20 AM, Lorenzo Bettini wrote: On 09/27/2011 05:47 AM, Peter Johansson wrote: Hi Tim, On 9/26/11 4:20 PM, Tim Statler wrote: The following directory should be added to compiler include paths: /Users/wnpm38/boost_1_47_0 The following directory should be added to linker library

Re: [Help-source-highlight] adding a language (lilypond)

2011-12-12 Thread Lorenzo Bettini
Are you sure you modified the lang.map in the source 'src' directory, and not in the build directory? cheers Lore -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSI

Re: [Help-source-highlight] adding a language (lilypond)

2011-12-11 Thread Lorenzo Bettini
map). Finally, if you add a .lang file in the lang.map file, if you want to install it, you'll also have to modify Makefile.am by adding your .lang file to the installed ones (you can take a look at src/Makefile.am). hope to hear from you soon! cheers Lorenzo -- Lorenzo Bettini, P

Re: [Help-source-highlight] compiling in build?

2011-12-11 Thread Lorenzo Bettini
ion, but you're right about it :) please file a ticket at https://savannah.gnu.org/bugs/?group=src-highlite in particular, if you've already built it in the same directory, and you want to provider an improved .gitignore, please do so. cheers Lorenzo -- Lorenzo Bettini, PhD i

Re: [Help-source-highlight] Boost Regex library linking problem

2011-09-27 Thread Lorenzo Bettini
; probably I should update documentation :) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS

Re: [Help-source-highlight] Regular Expression Explanation for 'function.lang'

2011-06-03 Thread Lorenzo Bettini
DF_DIMRENAME|NCDF_EXISTS|NCDF_INQUIRE|NCDF_OPEN|NCDF_VARDEF|NCDF_VARGET|NCDF_VARGET1|NCDF_VARID|NCDF_VARINQ|NCDF_VARPUT|NCDF_VARRENAME|ENDELSE|RETURN" comment delim "/*" "*/" multiline nested type = '(?:\$[#]?|@|%)[[:word:]]+' include "symbols.lang" cbracket = &quo

Re: [Help-source-highlight] Regular Expression Explanation for 'function.lang'

2011-05-27 Thread Lorenzo Bettini
programs might be useful to do some tests; have you already a partial language definition for IDL to start from? On 05/24/2011 05:27 PM, Peter Willis wrote: On 5/23/2011 7:10 AM, Lorenzo Bettini wrote: (?=\() checks whether after the name there's a ( but does not consume it can the synt

Re: [Help-source-highlight] Regular Expression Explanation for 'function.lang'

2011-05-23 Thread Lorenzo Bettini
in (?= ) (?=\() checks whether after the name there's a ( but does not consume it can the syntax of your procedure definition be identified with a regular expression? Can you make some examples of procedures? cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ

Re: [Help-source-highlight] build probs when maintainer mode is disabled

2011-05-14 Thread Lorenzo Bettini
On 01/31/2011 03:14 PM, Gary Funck wrote: On 01/28/11 08:18:36, Lorenzo Bettini wrote: could you please show me which files fail to build? Making all in doc make[2]: Entering directory `/a/src-highlite/doc' Makefile:1403: warning: overriding recipe for target `styleformatter.h.te

Re: [Help-source-highlight] [patch] highlighting usertypes started with `_'

2011-05-02 Thread Lorenzo Bettini
punct:][:space:]]*\s*[[:punct:]\[\]]+))` ___ Help-source-highlight mailing list Help-source-highlight@gnu.org https://lists.gnu.org/mailman/listinfo/help-source-highlight -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134

Re: [Help-source-highlight] Embedding inputlang as information

2011-04-23 Thread Lorenzo Bettini
8 @@ DocGenerator::generate_start_doc(std::ostream *sout) "\nby Lorenzo Bettini\nhttp://www.lorenzobettini.it\nhttp://www.gnu.org/software/src-highlite";, doc_header, doc_footer, -doc_background +doc_background, + doc

Re: [Help-source-highlight] Embedding inputlang as information

2011-04-09 Thread Lorenzo Bettini
e for parameter. thanks however the signature of constructor and method have changed thus it is not backward-compatible. I'll deal with this when I apply the patch. cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux

Re: [Help-source-highlight] Embedding inputlang as information

2011-03-30 Thread Lorenzo Bettini
ot to break abi compatibility (e.g., the input lang additional parameter can be set with a set method so not to change the method/constructor signature for instance). cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158

Re: [Help-source-highlight] Embedding inputlang as information

2011-03-07 Thread Lorenzo Bettini
break abi compatibility (e.g., the input lang additional parameter can be set with a set method so not to change the method/constructor signature for instance). cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 15

Re: [Help-source-highlight] build probs when maintainer mode is disabled?

2011-01-27 Thread Lorenzo Bettini
iner mode is not a recommended practice. could you please show me which files fail to build? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.pur

Re: [Help-source-highlight] Configure error on 3.1.4

2011-01-27 Thread Lorenzo Bettini
vance cheers Lorenzo On 01/26/2011 07:37 PM, Gary Funck wrote: (off list) On 01/26/11 10:09:21, Lorenzo Bettini wrote: would anyone like to do a patch against the git version of source-highlight with the new macro, please? Lorenzo, attached are two patches. I am new to 'git'

Re: [Help-source-highlight] build probs when maintainer mode is disabled?

2011-01-27 Thread Lorenzo Bettini
iner mode is not a recommended practice. Hi I'll try to deal with this issue... when maintainer mode is disabled those targets should not be built, and the needed files should be shipped in the .tar.gz... thanks Lore -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torin

Re: [Help-source-highlight] Configure error on 3.1.4

2011-01-26 Thread Lorenzo Bettini
hlight with the new macro, please? Since I don't have a 64 OS, and I don't experience problems with source-highlight configuration, it might help a lot if someone who was experiencing the problem could file a patch... thanks in advance Lorenzo -- Lorenzo Bettini, PhD in C

Re: [Help-source-highlight] Configure error on 3.1.4

2010-10-26 Thread Lorenzo Bettini
hat option shows up if you run configure --help I still don't understand why that option is necessary though, since running g++ from the command line seems to find boost without problems... cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16

Re: [Help-source-highlight] Configure error on 3.1.4

2010-10-26 Thread Lorenzo Bettini
ectory but this latter is in the pathes (LD_LIBRARY_PATH and LIBRARY_PATH). 2010/10/26 Lorenzo Bettini: On 10/26/2010 03:06 PM, Thomas Ricatte wrote: Hello, Thanks for your answer. Here's the config.log file. I've had to anonymate a path (remplaced by "x"). mh... un

Re: [Help-source-highlight] Configure error on 3.1.4

2010-10-26 Thread Lorenzo Bettini
compilation line? Are you sure you have the libboost_regex* library files? Are you sure you don't have multiple versions of the boost libraries? thanks hope to hear from you soon Lore -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134

Re: [Help-source-highlight] Configure error on 3.1.4

2010-10-26 Thread Lorenzo Bettini
om/freebsd-po...@freebsd.org/msg29804.html but I haven't find a way to solve it. The output is weird because the error message is incomplete : "Could not ling against ?" Any idea to help me ? Thanks in advance. -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino IC

Re: [Help-source-highlight] source-highlight installs m4 files from autoconf-archive

2010-06-17 Thread Lorenzo Bettini
git version cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com

Re: [Help-source-highlight] source-highlight on solaris?

2010-04-26 Thread Lorenzo Bettini
hlight.cpp -KPIC -DPIC -o .libs/sourcehighlight.o "fileutil.h", line 55: Error: "," expected instead of "*". "fileutil.h", line 60: Error: Multiple declaration for FILE. "fileutil.h", line 60: Error: "," expected instead of "*". 3 E

Re: [Help-source-highlight] source-highlight on solaris?

2010-04-23 Thread Lorenzo Bettini
lementation is not that standard... could you please send me the header file "set" which is part of your stl header files? thanks Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://

Re: Fwd: [Help-source-highlight] source-highlight on solaris?

2010-04-23 Thread Lorenzo Bettini
quot;config.log" (for the gcc build) here: http://www.pdmc.net/transfer/config.log mh... so you built libboost with the sun compiler and trying to link that library using gcc? Does the sun compiler produce binary code which is compatible with gcc? what do you mean by "home made&

Re: [Help-source-highlight] source-highlight on solaris?

2010-04-21 Thread Lorenzo Bettini
se try with this other example which should mimic the same types of the code which generates the compiler error, and let me know cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobetti

Re: [Help-source-highlight] source-highlight on solaris?

2010-04-21 Thread Lorenzo Bettini
parc compiler and see whether that works? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba B

Re: [Help-source-highlight] source-highlight on solaris?

2010-04-20 Thread Lorenzo Bettini
ome/spalm0/work/source-highlight-3.1.3' gmake: *** [all] Error 2 --- END --- Any suggestions/ideas what's going on here? Thanks, Stefan ___ Help-source-highlight mailing list Help-source-highlight@gnu.org http://lists.gnu.org/mailman/listinf

Re: [Help-source-highlight] Unicode files ?

2010-04-03 Thread Lorenzo Bettini
e further links they are more than welcome :) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOG

Re: [Help-source-highlight] Unicode files ?

2010-04-02 Thread Lorenzo Bettini
r my ignorance, but with unicode in a text file every character is represented by two bytes, right? I'd like to try with wstring and see whether this solves something. Can someone, possibly the original poster, please send me a file in unicode format so that I can do some tests? chee

Re: [Help-source-highlight] Unicode files ?

2010-03-30 Thread Lorenzo Bettini
al Studio. I'm going to take a look on the Source-Highlight code to see if this could be easy to add... Best, Lionel Lorenzo Bettini wrote: Lionel Fumery wrote: Hi, I'm new with Source-Highlight, just began a week ago in fact. It works fine, but I have some understanding issues

Re: [Help-source-highlight] Unicode files ?

2010-03-29 Thread Lorenzo Bettini
ng such support to a C++ program? Is it just a matter of using wchar for strings? thanks Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://

Re: [Help-source-highlight] Support for Google Protocol Buffers protobuf language (.proto)

2010-03-15 Thread Lorenzo Bettini
Joel Smith wrote: Lorenzo Bettini wrote: don't excuse yourself, it was my fault to leave around autogen.sh which is quite old and I haven't been using it for years myself: I'll remove it asap :) Thanks for being responsive. and many thanks for your patch with proto language

[Help-source-highlight] Source-Highlight-IDE 1.0

2010-03-11 Thread Lorenzo Bettini
Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspo

Re: [Help-source-highlight] Support for Google Protocol Buffers protobuf language (.proto)

2010-03-09 Thread Lorenzo Bettini
near unexpected token `1.33.1' ./configure: line 15756: `AX_BOOST_BASE(1.33.1)' -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspa

Re: [Help-source-highlight] Processing escape sequences

2010-02-23 Thread Lorenzo Bettini
atically... :-) Problem found! OK, no problem, it's always nice to hear that it's not source-highlight's fault ;) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobetti

Re: [Help-source-highlight] Translation map for style names

2010-02-22 Thread Lorenzo Bettini
y also to see how hard/easy would be to add such feature but I see your context as very ad-hoc, isn't it? hope to hear from you soon cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://ww

Re: [Help-source-highlight] Processing escape sequences

2010-02-22 Thread Lorenzo Bettini
$|$" "---" "-\\/-\\/-" "--" "-\\/-" "\"" "\"{}" # avoids problems with some inputenc end in html_notfixed.outlang translations "\n" "\n" " " "  " '^ ' " " # a spac

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-19 Thread Lorenzo Bettini
34-mt-1_40 # - # Sources # - SOURCES += test.cpp so somewhere in the qmake code of your library the INCLUDEPATH is overwritten is assume. Best Regards, Matthias -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-19 Thread Lorenzo Bettini
Lorenzo Bettini wrote: Lorenzo Bettini wrote: Here you find the version I've been working on this evening under mingw/windows http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qmake-3.1.2.tar.gz and it solves the errors with mkdir and other things. For the moment, use C

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Lorenzo Bettini wrote: Here you find the version I've been working on this evening under mingw/windows http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qmake-3.1.2.tar.gz and it solves the errors with mkdir and other things. For the moment, use CONFIG+=static and do not

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Here you find the version I've been working on this evening under mingw/windows http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qmake-3.1.2.tar.gz and it solves the errors with mkdir and other things. For the moment, use CONFIG+=static and do not build dll (since they use a differe

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Lorenzo Bettini wrote: Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: P.S. it looks like building boost with msvc is fully supported: http://www.boost.org/doc/libs/1_41_0/more

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: P.S. it looks like building boost with msvc is fully supported: http://www.boost.org/doc/libs/1_41_0/more/getting_started/windows.html

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: P.S. it looks like building boost with msvc is fully supported: http://www.boost.org/doc/libs/1_41_0/more/getting_started/windows.html building boost is not a problem, I have a problem to

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: P.S. it looks like building boost with msvc is fully supported: http://www.boost.org/doc/libs/1_41_0/more/getting_started/windows.html building boost is not a problem, I have a problem to tell qmake where the include files are, since it

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Lorenzo Bettini wrote: Hi I'm working on this, and solving the autoconf generated files and defines in the .pro files, it's taking me some time. Hope to have something ready soon :) OK, I made it, at least I can successfully

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-18 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Lorenzo Bettini wrote: Hi I'm working on this, and solving the autoconf generated files and defines in the .pro files, it's taking me some time. Hope to have something ready soon :) OK, I made it, at least I can successfully

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-17 Thread Lorenzo Bettini
Lorenzo Bettini wrote: Hi I'm working on this, and solving the autoconf generated files and defines in the .pro files, it's taking me some time. Hope to have something ready soon :) OK, I made it, at least I can successfully build both source-highlight and source-highlight-qt u

Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc

2009-11-17 Thread Lorenzo Bettini
- _______ Help-source-highlight mailing list Help-source-highlight@gnu.org http://lists.gnu.org/mailman/listinfo/help-source-highlight -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Li

Re: [Help-source-highlight] QSource-Highlight 0.2

2009-11-17 Thread Lorenzo Bettini
I just wanted to inform you that I started to provide a qmake build system both for source-highlight and source-highlight-qt for source-highlight-qt is basically ready; now I'm working on the harder one: source-highlight :) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Sc

Re: [Help-source-highlight] QSource-Highlight 0.2

2009-11-17 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Matthias Pospiech wrote: Lorenzo Bettini schrieb: actually they're both platform independent; it's true that they rely on a unix-like system for building, but in windows you have both cygwin and mingw/msys for that. Indeed

Re: [Help-source-highlight] QSource-Highlight 0.2

2009-11-16 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: actually they're both platform independent; it's true that they rely on a unix-like system for building, but in windows you have both cygwin and mingw/msys for that. Indeed there's a windows build of source-highlight that I

Re: [Help-source-highlight] QSource-Highlight 0.2

2009-11-16 Thread Lorenzo Bettini
Matthias Pospiech wrote: Lorenzo Bettini schrieb: Hi I've just released version 0.2 this program: http://qsrchilite.sourceforge.net/ QSource-Highlight is a Qt4 front-end for GNU Source-Highlight, http://www.gnu.org/software/src-highlite. I downloaded src-highlite and your Qt Wrapper

[Help-source-highlight] QSource-Highlight 0.2

2009-11-15 Thread Lorenzo Bettini
ome :-) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blo

[Help-source-highlight] QSource-Highlight

2009-10-01 Thread Lorenzo Bettini
ome :-) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blo

[Help-source-highlight] Source-Highlight-Qt

2009-07-06 Thread Lorenzo Bettini
ld qt applications; furthermore, QSyntaxHighlighter class in Qt3 has some design problems which make it quite inefficient to use. any feedback is more than welcome :-) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233)

Re: [Help-source-highlight] regexp in javascript.lang (3rd try!)

2008-12-22 Thread Lorenzo Bettini
OK so the only solution is the one you had proposed :-) it's quite a pity not re-using java.lang, but that's not a big deal, is it? ;-) cheers Lorenzo gnom...@users.sourceforge.net wrote: Lorenzo Bettini wrote: gnom...@users.sourceforge.net wrote: include "

Re: [Help-source-highlight] regexp in javascript.lang (3rd try!)

2008-12-21 Thread Lorenzo Bettini
rks also this way, and it reuses most of java.lang (see the attached file); what do you think? cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http:

Re: [Help-source-highlight] regexp in javascript.lang (3rd try!)

2008-12-17 Thread Lorenzo Bettini
gnom...@users.sourceforge.net wrote: Lorenzo Bettini wrote: gnom...@users.sourceforge.net wrote: Last time I suggested an ugly regexp definition for javascript.lang to avoid matching /* */ comments: http://lists.gnu.org/archive/html/help-source-highlight/2008-09/msg0.html On second

Re: [Help-source-highlight] regexp in javascript.lang (3rd try!)

2008-12-16 Thread Lorenzo Bettini
tches cases where there are two division operators in a single expression, such as: document.write('25% = '+(25/100)+''); mh... I'm not sure I understad: why does this happen? The other / are in strings delimited by '', aren't they? -- Lorenzo Bettini,

Re: [Help-source-highlight] missing keywords in caml.lang

2008-11-28 Thread Lorenzo Bettini
[EMAIL PROTECTED] wrote: A couple of keywords seem to be missing from the definition in caml.lang: initializer object Also, is "closed" a keyword? don't know much about caml, but I believe you and I'll add them :-) thanks Lorenzo -- Lorenzo Bettini, PhD in

Re: [Help-source-highlight] problem building sources for insall in $HOME as non-root user

2008-11-27 Thread Lorenzo Bettini
Britton Kerin wrote: Install as ordinary user seems to work fine now thanks. great! I'll release 2.11.1 soon (at the moment I'm working on providing also a library together with source-highlight so probably the next major release will be... actually major ;-) One little thing that I think

  1   2   >