An open API service indexing awesome lists of open source software.

https://github.com/colack/femcode

the femboy programming language
https://github.com/colack/femcode

Last synced: 27 days ago
JSON representation

the femboy programming language

Awesome Lists containing this project

README

        

# FemCode

This is FemCode, a joke programming language that is based on Femboys.

FemCode is very loosely based on TypeScript and JavaScript, but with a few key differences. You can find the full documentation [here](https://github.com/colack/femcode/blob/main/docs/README.md).

## Installation

`Quick heads up: FemCode is not yet available for installation.`

FemCode is available on npm, so you can install it using the following command:

```bash
npm install -g femcode --save-dev
```

## Usage

You can run FemCode using the following command:

```bash
npx femcode
```

## Syntax

### Variables

FemCode supports both `let` and `const` for variable declarations. Variables can be declared using the following syntax:

```typescript
let x: number = 5;
const y: string = "Hello, world!";
```

### Functions

Functions can be declared using the following syntax:

```typescript
fn add(a: number, b: number) : number {
return a + b;
}
```