btbytes / nim-cookbook Goto Github PK
View Code? Open in Web Editor NEWNim Programming Cookbook
Home Page: http://nim-cookbook.btbytes.com/
License: Other
Nim Programming Cookbook
Home Page: http://nim-cookbook.btbytes.com/
License: Other
From over here in the Nim forum:
https://forum.nim-lang.org/t/2457/2
In the post from mratsim at 2017-10-26 19:19:16
Hi there.
Nim doesn't have a built-in alias command to rename identifiers to something more convenient (eg, D lang has that). But it's possible to get the same effect by using template metaprogramming.
Here's a couple of links with more info on that:
https://forum.nim-lang.org/t/2390
https://forum.nim-lang.org/t/1515
Could you please add a section for how to do aliasing?
Hello,
I am interested in learning Nim, and that's how I came across this cookbook.
I also use Emacs/Org, and glancing through your repos, you probably also use, or at least know about Org? :)
If so, I was curious if you had thought of writing the source of this site in Org (+Babel) instead of Markdown.
Example:
WDYT?
As per this thread:
https://github.com/btbytes/nim-cookbook/tree/master/code directory will contain a lot of files if more code examples will be added.
I propose to move all code examples into different directories, e.g. random code examples - "random" directory, metaprogramming - "metaprogramming".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.