๐Ÿ†˜ Help & Support - FluxSharp

Getting help with FluxSharp - troubleshooting, support, and resources.


Quick Help

I have an error. What do I do?

  1. Read the error message carefully - it tells you what's wrong

  2. Check the error guide:

    docs/04-compiler/ERROR_GUIDE.md

  3. Search the glossary:

    docs/GLOSSARY.md

  4. View examples:

    docs/EXAMPLES.md

  5. Ask for help - Open a GitHub issue

Where do I start learning?

  1. First time? โ†’

    docs/01-quickstart/README.md

  2. Want structured learning? โ†’

    docs/LEARNING_GUIDE.md

  3. Need quick reference? โ†’

    docs/INDEX.md

  4. Looking for examples? โ†’

    docs/EXAMPLES.md

How do I report a bug?

  1. Create a minimal example that reproduces the bug

  2. Note your OS and FluxSharp version

  3. Open an issue on GitHub with:

  • Clear description

  • Code to reproduce

  • Expected vs actual behavior

  • Error messages


Documentation Map

Getting Started (New Users)

START HERE โ†“ docs/01-quickstart/README.md (overview) โ†“ docs/01-quickstart/QUICKSTART.md (5-minute intro) โ†“ docs/02-language/SYNTAX.md (learn syntax)

Learning Path (Beginners)

docs/LEARNINGGUIDE.md (structured path) โ†’ Beginner Track (2-3 hours) โ†’ Intermediate Track (2-3 hours) โ†’ Advanced Track (3+ hours)

Reference (All Levels)

Syntax Reference โ†’ docs/02-language/SYNTAX.md Type System โ†’ docs/02-language/TYPES.md Control Flow โ†’ docs/02-language/CONTROLFLOW.md Functions โ†’ docs/02-language/FUNCTIONS.md Classes โ†’ docs/02-language/CLASSES.md Arrays โ†’ docs/02-language/ARRAYS.md Operators โ†’ docs/02-language/OPERATORS.md

Advanced Topics

Async/Await โ†’ docs/03-advanced/ASYNCAWAIT.md Imports โ†’ docs/03-advanced/CSHARPIMPORTSUPDATE.md Security โ†’ docs/02-language/ADVANCEDSECURITY.md Performance โ†’ docs/05-reference/IMPLEMENTATIONSUMMARY.md

Tools & Build

Compiler Guide โ†’ docs/04-compiler/BUILDSYSTEM.md Error Messages โ†’ docs/04-compiler/COMPILERERRORS.md Error Guide โ†’ docs/04-compiler/ERRORGUIDE.md Includes/Main โ†’ docs/04-compiler/INCLUDESANDMAIN.md

Support & Community

FAQ โ†’ docs/FAQ.md Glossary โ†’ docs/GLOSSARY.md Examples โ†’ docs/EXAMPLES.md Best Practices โ†’ docs/BEST_PRACTICES.md Contributing โ†’ docs/CONTRIBUTING.md


Common Issues & Solutions

Compilation Issues

"Main class not found"

Problem:

Error: Main class not found

Solution: Create a Main class with main() method:

class Main { public void main() { print("Hello!"); } }

Reference:

docs/04-compiler/INCLUDESANDMAIN.md


"Type mismatch"

Problem:

Error: Type mismatch - expected int, got string

Solution: Ensure correct types are used:

// โœ“ Correct int x = 42; // โœ— Wrong int x = "42"; // string, not int

Reference:

docs/02-language/TYPES.md


"Undefined variable"

Problem:

Error: Undefined variable 'x'

Solution: Declare variable before use:

// โœ“ Correct int x = 10; print(x); // โœ— Wrong print(x); // x not declared int x = 10;

Reference:

docs/02-language/VARIABLES.md


"Array out of bounds"

Problem:

Error: Array index out of bounds - index 10, length 5

Solution: Verify array indices are within bounds:

int[] arr = new int[5]; arr[10] = 42; // โœ— Error: out of bounds // โœ“ Correct arr[4] = 42; // Valid index (0-4)

Reference:

docs/02-language/ARRAYS.md

and

docs/02-language/BOUNDS_CHECKING.md


"Cannot find symbol"

Problem:

Error: Cannot find symbol 'functionName'

Solution: Check function is defined in a class:

class MyClass { public void myFunction() { print("Hello"); } } class Main { public void main() { MyClass obj = new MyClass(); obj.myFunction(); } }

Reference:

docs/02-language/FUNCTIONS.md

and

docs/02-language/CLASSES.md


Runtime Issues

"Null pointer"

Problem: Program crashes with null pointer Solution: Check for null before use:

// โœ“ Good if (obj != null) { obj.doSomething(); } // โœ“ Better - use default if (obj == null) { obj = new MyClass(); }


"Infinite loop"

Problem: Program doesn't finish Solution: Ensure loop has exit condition:

// โœ“ Good for (int i = 0; i < 10; i = i + 1) { print(i); } // โœ— Bad - infinite loop for (int i = 0; i < 10; i = 0) { print(i); }

Reference:

docs/02-language/CONTROL_FLOW.md


"Stack overflow"

Problem: Recursion too deep Solution: Check recursive base case:

// โœ“ Good - has base case public int factorial(int n) { if (n <= 1) { return 1; // Base case } return n * factorial(n - 1); } // โœ— Bad - infinite recursion public int badRecursion(int n) { return badRecursion(n); // No base case }


Performance Issues

"Program runs slowly"

Solution:

  1. Profile to find bottleneck

  2. Reduce unnecessary operations

  3. Use appropriate data structures

  4. Compile in release mode

Reference:

docs/05-reference/IMPLEMENTATION_SUMMARY.md


Security Issues

"Buffer overflow risk"

Solution: Use array bounds checking (automatic in FluxSharp):

int[] arr = new int[10]; arr[15] = 42; // โœ“ Caught automatically

Reference:

docs/02-language/BOUNDS_CHECKING.md

and

docs/02-language/ADVANCED_SECURITY.md


Feature-Specific Help

Arrays

  • Create arrays:

    docs/02-language/ARRAYS.md

  • Bounds checking:

    docs/02-language/BOUNDS_CHECKING.md

  • Multi-dimensional:

    docs/02-language/ARRAYS.md

    (advanced section)

Functions

  • Define functions:

    docs/02-language/FUNCTIONS.md

  • Parameters:

    docs/02-language/FUNCTIONS.md

  • Return values:

    docs/02-language/FUNCTIONS.md

Classes

  • Create classes:

    docs/02-language/CLASSES.md

  • Inheritance:

    docs/02-language/CLASSES.md

    (advanced section)

  • Constructors:

    docs/02-language/CLASSES.md

Async/Await

  • Overview:

    docs/03-advanced/ASYNC_AWAIT.md

  • Implementation:

    docs/03-advanced/ASYNCAWAITIMPLEMENTATION.md

  • Best practices:

    docs/BEST_PRACTICES.md

Error Handling

  • Try/Catch:

    docs/02-language/EXCEPTION_HANDLING.md

  • Custom exceptions:

    docs/02-language/EXCEPTION_HANDLING.md

  • Error messages:

    docs/04-compiler/COMPILER_ERRORS.md


Glossary & Terms

Don't understand a term? Check

docs/GLOSSARY.md

for:

  • Keywords

  • Data types

  • Concepts

  • Patterns

  • And more!

Examples:

  • What is "async"? โ†’ Look in GLOSSARY.md

  • What is "polymorphism"? โ†’ Look in GLOSSARY.md

  • What is "recursion"? โ†’ Look in GLOSSARY.md


Learning Resources

For Beginners

  1. Start:

    docs/01-quickstart/README.md

  2. Syntax:

    docs/02-language/SYNTAX.md

  3. Types:

    docs/02-language/TYPES.md

  4. Practice:

    docs/EXAMPLES.md

For Intermediate Users

  1. Functions:

    docs/02-language/FUNCTIONS.md

  2. Classes:

    docs/02-language/CLASSES.md

  3. Arrays:

    docs/02-language/ARRAYS.md

  4. Control:

    docs/02-language/CONTROL_FLOW.md

For Advanced Users

  1. Async:

    docs/03-advanced/ASYNCAWAITIMPLEMENTATION.md

  2. Security:

    docs/02-language/ADVANCED_SECURITY.md

  3. Performance:

    docs/05-reference/IMPLEMENTATION_SUMMARY.md

  4. Patterns:

    docs/BEST_PRACTICES.md


Getting In Touch

Questions or Issues?

  1. Check Documentation - Most answers are documented

  2. Search FAQ - Many common questions answered

  3. Search Issues - Your problem may already be solved

  4. Open an Issue - Describe your problem clearly

  5. Join Discussion - Connect with community

Reporting Bugs

Include:

  • FluxSharp version

  • Operating system

  • Minimal code to reproduce

  • Expected behavior

  • Actual behavior

  • Error messages


Expert Help

Need More Specific Help?

Check these sections: Compilation Problems: โ†’

docs/04-compiler/ERROR_GUIDE.md

Type System Issues: โ†’

docs/02-language/TYPES.md

Performance Optimization: โ†’

docs/05-reference/IMPLEMENTATION_SUMMARY.md

Security Concerns: โ†’

docs/02-language/ADVANCED_SECURITY.md

Async Programming: โ†’

docs/03-advanced/ASYNCAWAITIMPLEMENTATION.md


Documentation Versions

All documentation is:

  • โœ… Current and up-to-date

  • โœ… Organized by topic

  • โœ… Includes examples

  • โœ… Cross-referenced

  • โœ… Quality-reviewed


Search Tips

How to find what you need:

  1. Know the topic?

โ†’ Check INDEX.md for direct link

  1. Know the category?

โ†’ Browse docs/[category]/

  1. Know a keyword?

โ†’ Search in GLOSSARY.md

  1. Have an error?

โ†’ Check docs/04-compiler/ERRORGUIDE.md

  1. Want to learn?

โ†’ Start with docs/LEARNINGGUIDE.md


FAQ Quick Links

  • Getting Started:

    docs/FAQ.md#getting-started

  • Language Features:

    docs/FAQ.md#language-features

  • Compilation:

    docs/FAQ.md#compilation--build

  • Performance/Security:

    docs/FAQ.md#performance--security

  • Troubleshooting:

    docs/FAQ.md#troubleshooting


Still Need Help?

  1. Read the relevant documentation - Most questions answered

  2. Check examples - Learn by example

  3. Search the glossary - Understand terminology

  4. Open an issue - Ask the community

  5. Be patient - We're here to help!


Support Resources Summary

Resource

Best For

docs/INDEX.md

Finding documentation

docs/LEARNING_GUIDE.md

Structured learning

docs/EXAMPLES.md

Code samples

docs/FAQ.md

Common questions

docs/GLOSSARY.md

Term definitions

docs/BEST_PRACTICES.md

Writing good code

docs/04-compiler/ERROR_GUIDE.md

Fixing errors

GitHub Issues

Reporting problems

GitHub Discussions

Asking questions


We're here to help! Don't hesitate to ask. ๐Ÿค


Last Updated: April 9, 2026 Status: Comprehensive โœ