1
0
Fork 0
forked from fun/fun

Doxygen code comment cleanups and new blog post. No code changes. (0.41.5)

This commit is contained in:
Johannes Findeisen 2026-05-01 15:15:42 +02:00
commit 4309ec2a52
212 changed files with 423 additions and 476 deletions

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -22,9 +22,6 @@
* Error Handling:
* - Exits with error if not enough args
* - Exits if function isn't callable
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_CALL: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -25,9 +25,6 @@
* // Bytecode: OP_DUP
* // Stack before: [42]
* // Stack after: [42, 42]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_DUP: {

View file

@ -1,12 +1,10 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
* Copyright 2025 Johannes Findeisen <you@hanez.org>
* Licensed under the terms of the Apache-2.0 license.
* https://opensource.org/license/apache-2-0
*
* Added: 2025-10-04
*/
/**

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -21,9 +21,6 @@
* // Bytecode: OP_HALT
* // Stack before: [42]
* // Stack after: [42]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_HALT:

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -22,9 +22,6 @@
* - Loops
* - Function returns
* - Conditional control flow
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_JUMP: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -23,9 +23,6 @@
* - If statements
* - While loops
* - Logical expressions
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_JUMP_IF_FALSE: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -20,9 +20,6 @@
*
* Error Handling:
* - Exits if invalid constant index
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_LOAD_CONST: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -25,9 +25,6 @@
* // Bytecode: OP_LOAD_GLOBAL 0
* // Stack before: []
* // Stack after: [global_value]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_LOAD_GLOBAL: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -25,9 +25,6 @@
* // Bytecode: OP_LOAD_LOCAL 0
* // Stack before: []
* // Stack after: [local_value]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_LOAD_LOCAL: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -21,9 +21,6 @@
* // Bytecode: OP_NOP
* // Stack before: [42]
* // Stack after: [42]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_NOP:

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -23,9 +23,6 @@
* // Bytecode: OP_POP
* // Stack before: [42]
* // Stack after: []
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_POP: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -26,9 +26,6 @@
* // Bytecode: OP_RETURN
* // Stack before: [42]
* // Stack after: [42]
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_RETURN: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -25,9 +25,6 @@
* // Bytecode: OP_STORE_GLOBAL 0
* // Stack before: [42]
* // Stack after: []
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_STORE_GLOBAL: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -25,9 +25,6 @@
* // Bytecode: OP_STORE_LOCAL 0
* // Stack before: [42]
* // Stack after: []
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_STORE_LOCAL: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
@ -20,9 +20,6 @@
*
* Error Handling:
* - Exits if stack underflow
*
* @author Johannes Findeisen
* @date 2025-10-16
*/
case OP_SWAP: {

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*

View file

@ -1,4 +1,4 @@
/**
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*