mainGNU source-highlight - Support: sr #110762, Use stl instead of boost

 
 

sr #110762: Use stl instead of boost

Submitter:  Liu Zixian <sdlzx>
Submitted:  Mon 07 Nov 2022 03:11:10 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 29 Jan 2023 03:37:59 PM UTC, comment #2: 

I see I posted my analysis over here:

https://savannah.gnu.org/patch/?9338#comment4

Tom Tromey <tromey>
Group administrator
Sun 29 Jan 2023 03:33:34 PM UTC, comment #1: 

original submission:

> source-highlight use boost::regex since 2.0, which is release in 2005.
> Now C++11 has regex library, can we remove the boost dependency?


I think I tried to do this once and found out that it was difficult -- like, source highlight exposes some Boost-specific things somewhere... I think in the check_regexp command.

Maybe we could remove check_regexp?  It doesn't really seem all that important to me.

Actually, maybe the problem is that the highlighters themselves can rely on boost regexp features.  That would take some investigation.

I would love to see patches for this though.

Tom Tromey <tromey>
Group administrator
Mon 07 Nov 2022 03:11:10 AM UTC, original submission:  

source-highlight use boost::regex since 2.0, which is release in 2005.
Now C++11 has regex library, can we remove the boost dependency?

Liu Zixian <sdlzx>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tromey (Posted a comment)
  • -email is unavailable- added by sdlzx (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code