Skip to content

String utilities for Julia, Swift-like interpolation/quoting, better performing versions of string functions, etc.

License

Notifications You must be signed in to change notification settings

LenguajeJulia/StringUtils.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StringUtils

Build Status

The StringUtils package in a work-in-progress, where I am placing various improvements on the String functionality in Julia language.

Currently, it adds a Swift style string macro, u"...", which uses the Swift syntax for interpolation, i.e. \(expression). This means that you never have to worry about strings with the $ character in them, which is rather frequent in some applications. Also, Unicode sequences are represented as in Swift, i.e. as \u{hexdigits}, where there can be from 1 to 6 hex digits. This syntax eliminates having to worry about always outputting 4 or 8 hex digits, to prevent problems with 0-9,A-F,a-f characters immediately following. Finally, I have added two new ways of representing characters in the literal string, \:emojiname: and \{latexname}. This makes life a lot easier when you want to keep the text of a program in ASCII, and also to be able to write programs using those characters that might not even display correctly in their editor.

About

String utilities for Julia, Swift-like interpolation/quoting, better performing versions of string functions, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%