Please feel free to revise the tags, or ask for clarification.Ī really broad subject, and you might get more detailed answers in the software engineering and computer science forums of Stack Exchange. ![]() ![]() ![]() To be clear, I am not worried about any pragmatic concerns regarding the difficulty in sharing code if I modify the syntax in my system I am solely wondering if in theory it is possible to modify the fundamental syntax of a programming language, and if so, how. Is there any way for me to modify the syntax in my own system so that the function of :: could be performed by something else, like :::, or maybe, or better yet :is_a:, so that I could perform the same function as above with: str ::: String In Haskell, for a small example, type declarations are written with ::, e.g., str :: String I am coming to computer science from a math background, so people keep telling me that functional programming languages like Haskell will feel very natural for me, but I find the syntax of a lot of languages (not just functional languages) very ugly and unintuitive. This question might be naïve, so please feel free to press me for clarification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |