programming-languages: fixed structure

master
tiyn 2 years ago
parent 9df0f27829
commit 09f6c9b3ce

@ -2,15 +2,13 @@
C is a common programming language. C is a common programming language.
## Installation ## Setup
To get c working you basically just need to install a compiler. To get c working you basically just need to install a compiler.
To get a compiler for c there are a few options. To get a compiler for c there are a few options.
- [GNU compiler collection](https://gcc.gnu.org) - [GNU compiler collection](https://gcc.gnu.org)
## IDE
### Vim ### Vim
The steps to make Vim a c IDE are described in [the vim section of this wiki](../linux/vim/c-language.md). The steps to make Vim a c IDE are described in [the vim section of this wiki](../linux/vim/c-language.md).

@ -2,7 +2,7 @@
GoLang is a common programming language. GoLang is a common programming language.
## Installation ## Setup
To get go working you basically just need to install [Go](https://golang.org/doc/install). To get go working you basically just need to install [Go](https://golang.org/doc/install).
Make sure to set the `GOPATH` and the `GOBIN` variable and add the last to the `Path` Make sure to set the `GOPATH` and the `GOBIN` variable and add the last to the `Path`
@ -16,8 +16,6 @@ export PATH="${GOBIN}:${PATH}"
You can move the `GOPATH` where you want. You can move the `GOPATH` where you want.
## IDE ## Vim
### Vim
The steps to make Vim a Go IDE are described in [the vim section of this wiki](../linux/vim/golang.md). The steps to make Vim a Go IDE are described in [the vim section of this wiki](../linux/vim/golang.md).

@ -3,15 +3,13 @@
[Nim](https://nim-lang.org) is a statically typed compiled systems programming [Nim](https://nim-lang.org) is a statically typed compiled systems programming
language. language.
## Installation ## Setup
You can install nim using choosenim with You can install nim using choosenim with
`curl https://nim-lang.org/choosenim/init.sh -sSf | sh`. `curl https://nim-lang.org/choosenim/init.sh -sSf | sh`.
If you're on an arch-based machine you can also run `yay -S choosenim` (install `yay` if necessary). If you're on an arch-based machine you can also run `yay -S choosenim` (install `yay` if necessary).
## IDE ## Vim
### Vim
The steps to make Vim a nim IDE are described in The steps to make Vim a nim IDE are described in
[the vim section of this wiki](../linux/vim/nim.md). [the vim section of this wiki](../linux/vim/nim.md).

@ -3,7 +3,7 @@
[Python](https://www.python.org) is an interpreted general-purpose programming [Python](https://www.python.org) is an interpreted general-purpose programming
language. language.
## Installation ## Setup
You can install python using various ways. You can install python using various ways.
With `pyenv` you can switch between different versions. With `pyenv` you can switch between different versions.
@ -22,9 +22,12 @@ You can then set and install your preferred version of python globally with
Analog to managing python versions, `pipenv` can manage pip and package versions. Analog to managing python versions, `pipenv` can manage pip and package versions.
A guide and description of the usage can be found on [gioele.io](https://gioele.io/pyenv-pipenv). A guide and description of the usage can be found on [gioele.io](https://gioele.io/pyenv-pipenv).
### Avoid Errors in Vim ### Vim
Make sure to add The steps to make Vim a python IDE are described in
[the vim section of this wiki](../linux/vim/python.md).
Additionally make sure to add
```vimscript ```vimscript
let g:python_host_prog = "/usr/bin/python2" let g:python_host_prog = "/usr/bin/python2"
@ -40,13 +43,6 @@ to your `init.vim` to avoid usage of `pyenv`s version of python in autocompletio
To automatically create a `requirements.txt` of your current project, navigate To automatically create a `requirements.txt` of your current project, navigate
to it and run `pipreqs` (install it if not already done). to it and run `pipreqs` (install it if not already done).
## IDE
### Vim
The steps to make Vim a python IDE are described in
[the vim section of this wiki](../linux/vim/python.md).
## Modules ## Modules
There are various modules and package managers to install these for python like There are various modules and package managers to install these for python like

@ -2,12 +2,18 @@
VHDL is a hardware description language. VHDL is a hardware description language.
## Installation ## Setup
To simulate a VHDL project get [GHDL](https://github.com/ghdl/ghdl). To simulate a VHDL project get [GHDL](https://github.com/ghdl/ghdl).
After simulating you can view the simulation with [GTKWave](https://github.com/gtkwave/gtkwave). After simulating you can view the simulation with [GTKWave](https://github.com/gtkwave/gtkwave).
## Makefile for basic project ### Vim
The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md).
## Usage
### Makefile for basic project
Easiest way to analyse and simulate your project is a `Makefile`: Easiest way to analyse and simulate your project is a `Makefile`:
@ -51,9 +57,3 @@ clean:
``` ```
You can then for example do all steps by running `make all` in the according folder. You can then for example do all steps by running `make all` in the according folder.
## IDE
### Vim
The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md).

Loading…
Cancel
Save