-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Quick Start 2018
The Essential Docs, to get started quickly.
- Here's what you'll need to deploy your program. Choose a target platform: [Windows] [Linux] [Mac] [Android] [iPhone] [Web] [Web+Wasm] [Haiku] [Genode] [Nintendo Switch]
Note: Instructions for cross compilation are here. (only these combinations work: ...)
-
Set up your environment, our recommendation. Please choose the OS you develop on: ...
-
Interacting with the compiler, basic command line usage (+ nim.cfg, what happens: compiler steps in general, the c cache, -d:flags)
-
Writing a basic library, source control, unit tests, and IDE tips
-
Getting a skeleton program up and running, and using that library. Please choose the kind of program you're developing: (Links provide libraries you'll need, and guide you to a deployable skeleton app)
- A command line tool.
- A portable GUI desktop app
- a GUI app for a specific platform
- A 2D Game
- A Web application or website
- An android mobile app
- An iPhone mobile app
- A cross platform library
- Embedded usage: call nim from your c/c++ code.
- Other? leave feedback to let us know what we're missing.
5.5) Recommended workflows, ways to avoid complexity, and general advice for efficient development process from veteran Nim users. (IDEAL!)
- Language basics.
- These are wonderful tutorials/slides: ... links...
- Language at a glance, Nim from the mainstream language you know:
- Nim for the python programmer
- Nim for the C programmer
- Nim for the C# programmer
- Nim for the Javascript cowboy
- ... add more at our leisure.
Related: Also explain support for different paradigms in Nim. (procedural, OOP, functional)
- Use Cases: How to do X in Nim? (by topic)
- Show Nim packages and std lib, Maybe in reference to other language capabilities, or even compared to their samples.
- Be honest if there are some holes, chance to show interop with python and nimgen+c2nim.
- To learn more about Nim's features and how to use them, please refer to the official tutorial Part1, Part2, and the Manual.
Intro
Getting Started
- Install
- Docs
- Curated Packages
- Editor Support
- Unofficial FAQ
- Nim for C programmers
- Nim for Python programmers
- Nim for TypeScript programmers
- Nim for D programmers
- Nim for Java programmers
- Nim for Haskell programmers
Developing
- Build
- Contribute
- Creating a release
- Compiler module reference
- Consts defined by the compiler
- Debugging the compiler
- GitHub Actions/Travis CI/Circle CI/Appveyor
- GitLab CI setup
- Standard library and the JavaScript backend
Misc