Products > Programming

Zinc

(1/4) > >>

SiliconWizard:
This month's nugget:

https://github.com/zinc-lang/zinc

And, the compiler is written in Rust!

DimitriP:
Oh crap! 


https://tibleiz.net/zinc/

--- Quote ---Identifiers Can Have Blanks

The most important feature and the most unusual.

If you consider that an identifier follows this regular expression [_A-Za-z][_A-Za-z0-9]*,then just consider that a zinc identifier can be a sequence of one or more identifiers separated by blanks. The grammar of zinc permit this.

e.g.:

OpenWindowWithAttributes(...)
or
open_window_with_attributes(...)

becomes:

open window with attributes (...)

More information here.
--- End quote ---

JPortici:

--- Quote from: DimitriP on June 06, 2023, 02:08:54 am ---Oh crap! 


https://tibleiz.net/zinc/

--- Quote ---Identifiers Can Have Blanks

The most important feature and the most unusual.

If you consider that an identifier follows this regular expression [_A-Za-z][_A-Za-z0-9]*,then just consider that a zinc identifier can be a sequence of one or more identifiers separated by blanks. The grammar of zinc permit this.

e.g.:

OpenWindowWithAttributes(...)
or
open_window_with_attributes(...)

becomes:

open window with attributes (...)

More information here.
--- End quote ---

--- End quote ---

Featured in today's episode of "What could possibly go wrong?"

(that could be a great name for a blog)

SiliconWizard:
Yes, this is not the same Zinc though.
So, looks like we found 2 Zincs for the same price.

To be fair, the first one is a bit less funky.

Ed.Kloonk:
Is it re-inventing the wheel or perhaps just trying to build better spokes?

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod