repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8RecognizedBlock.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.817669 | //
// G8RecognizedBlock.h
// Tesseract OCR iOS
//
// Created by Nikolay Volosatov on 18.12.14.
// Copyright (c) 2014 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <UIKit/UIKit.h>
#import "G8Constants.h"
/**
* `G8RecognizedBlock` is a data structure that provides information about ... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/TesseractOCR.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.818916 | //
// TesseractOCR.h
// TesseractOCR
//
// Created by Kirill Makankov on 04.01.15.
// Copyright (c) 2015 Daniele Galiotto - www.g8production.com. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for TesseractOCR.
FOUNDATION_EXPORT double TesseractOCRVersionNumber;
//! Project version st... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8Constants.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.841076 | //
// G8Constants.h
// Tesseract OCR iOS
//
// Created by Nikolay Volosatov on 18.12.14.
// Copyright (c) 2014 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <Foundation/Foundation.h>
#ifndef Tesseract_OCR_iOS_G8Constants_h
#define Tesseract_OCR_iOS_G8Constants_h
#ifndef NS_DESIGNAT... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | Template Framework Project/Template Framework Project/G8ViewController.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.854826 | //
// G8ViewController.h
// Template Framework Project
//
// Created by Daniele on 14/10/13.
// Copyright (c) 2013 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <UIKit/UIKit.h>
#import <TesseractOCR/TesseractOCR.h>
@interface G8ViewController : UIViewController <G8TesseractDelegate,... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | Template Framework Project/Template Framework Project/G8AppDelegate.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.860703 | //
// G8AppDelegate.h
// Template Framework Project
//
// Created by Daniele on 14/10/13.
// Copyright (c) 2013 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <UIKit/UIKit.h>
@interface G8AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *windo... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8RecognitionOperation.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.861800 | //
// RecognitionOperation.h
// Tesseract OCR iOS
//
// Created by Nikolay Volosatov on 12.12.14.
// Copyright (c) 2014 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <UIKit/UIKit.h>
#import "G8Tesseract.h"
/**
* The type of a block function that can be used as a callback for the
... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8Tesseract.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.877804 | //
// G8Tesseract.h
// Tesseract OCR iOS
//
// Created by Loïs Di Qual on 24/09/12.
// Copyright (c) 2012 Loïs Di Qual.
// Under MIT License. See 'LICENCE' for more informations.
//
#import <UIKit/UIKit.h>
#import "G8Constants.h"
#import "G8TesseractDelegate.h"
/**
* Default value of `sourceResolution` propert... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8TesseractDelegate.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.882933 | //
// G8TesseractDelegate.h
// Tesseract OCR iOS
//
// Created by Nikolay Volosatov on 25.12.14.
// Copyright (c) 2014 Daniele Galiotto - www.g8production.com. All rights reserved.
//
#ifndef Tesseract_OCR_iOS_G8TesseractDelegate_h
#define Tesseract_OCR_iOS_G8TesseractDelegate_h
@class G8Tesseract;
@class UIImage... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/G8HierarchicalRecognizedBlock.h | null | null | null | null | null | null | C | 2026-05-04T18:28:13.884185 | //
// G8HierarchicalRecognizedBlock.h
// Tesseract OCR iOS
//
// Created by Jürgen Mayer on 30.11.15.
// Copyright © 2015 Daniele Galiotto - www.g8production.com. All rights reserved.
//
#import <TesseractOCR/TesseractOCR.h>
@interface G8HierarchicalRecognizedBlock : G8RecognizedBlock
/**
* An array of blocks o... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/jerror.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.453260 | /*
* jerror.h
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 1997-2012 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file defines the error and message codes for the JPEG library.
... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/jconfig.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.460942 | /* jconfig.h. Generated from jconfig.cfg by configure. */
/* jconfig.cfg --- source file edited by configure script */
/* see jconfig.txt for explanations */
#define HAVE_PROTOTYPES 1
#define HAVE_UNSIGNED_CHAR 1
#define HAVE_UNSIGNED_SHORT 1
/* #undef void */
/* #undef const */
/* #undef CHAR_IS_UNSIGNED */
#define... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/UIImage+G8Filters.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.487535 | //
// UIImage+G8Filters.h
// Tesseract OCR iOS
//
// Created by Daniele on 31/07/14.
// Copyright (c) 2014 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* Convenience methods for preprocessing images before performing recognition.
*/
@interface UIImage (G8Filt... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/jmorecfg.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.502624 | /*
* jmorecfg.h
*
* Copyright (C) 1991-1997, Thomas G. Lane.
* Modified 1997-2013 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains additional configuration options that customize ... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/alltypes.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.503981 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/bilateral.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.522867 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/array.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.524204 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/arrayaccess.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.525728 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/jpeglib.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.532523 | /*
* jpeglib.h
*
* Copyright (C) 1991-1998, Thomas G. Lane.
* Modified 2002-2013 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file defines the application interface for the JPEG library.
*... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/bbuffer.h | null | null | null | null | null | null | C | 2026-05-04T18:28:14.566352 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/bmf.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.073856 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/dewarp.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.108727 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/bmfdata.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.155810 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/environ.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.159033 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/bmp.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.180334 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/endianness.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.181288 | #if !defined (L_BIG_ENDIAN) && !defined (L_LITTLE_ENDIAN)
# if 0
# ifdef __BIG_ENDIAN__
# define L_BIG_ENDIAN
# else
# define L_LITTLE_ENDIAN
# endif
# else
# define L_LITTLE_ENDIAN
# endif
#endif
|
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/ccbord.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.183715 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/imageio.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.185642 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/heap.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.186185 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/gplot.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.213260 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/jbclass.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.842765 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/leptwin.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.889005 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/ptra.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.890492 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/list.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.896752 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/pix.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.914008 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/recog.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.919804 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/readbarcode.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.930062 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/morph.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.931016 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/queue.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.957653 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/regutils.h | null | null | null | null | null | null | C | 2026-05-04T18:28:15.958912 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/stringcode.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.557220 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/stack.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.557751 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/sudoku.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.744671 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/tesseract/apitypes.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.787399 | ///////////////////////////////////////////////////////////////////////
// File: apitypes.h
// Description: Types used in both the API and internally
// Author: Ray Smith
// Created: Wed Mar 03 09:22:53 PST 2010
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/tesseract/capi.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.788394 | #ifndef TESSERACT_API_CAPI_H__
#define TESSERACT_API_CAPI_H__
#ifdef TESS_CAPI_INCLUDE_BASEAPI
# include "baseapi.h"
# include "pageiterator.h"
# include "resultiterator.h"
# include "renderer.h"
#else
# include "platform.h"
# include <stdio.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifndef TESS_C... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/tesseract/basedir.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.789123 | /**********************************************************************
* File: basedir.h (Formerly getpath.h)
* Description: Header file for getpath.c. Provides relocatability of data.
* Author: Ray Smith
* Created: Mon Jul 09 09:13:03 BST 1990
*
* (C) Copyright 1990, Hewlett-Packard Ltd.
** Li... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/pngconf.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.790104 |
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.6.34, September 29, 2017
*
* Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* This code i... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/leptonica/watershed.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.834727 | /*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... |
gali8/Tesseract-OCR-iOS | https://github.com/gali8/Tesseract-OCR-iOS | null | null | null | null | 4,226 | null | null | mit | null | null | null | null | null | null | null | TesseractOCR/include/tesseract/baseapi.h | null | null | null | null | null | null | C | 2026-05-04T18:28:16.835400 | ///////////////////////////////////////////////////////////////////////
// File: baseapi.h
// Description: Simple API for calling tesseract.
// Author: Ray Smith
// Created: Fri Oct 06 15:35:01 PDT 2006
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | ape/zc_entry.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.180594 | #include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <libc/cosmo.h>
int __real_main(int argc, char **argv);
static bool streq(const char *a, const char *b)
{
return a && b && !strcmp(a, b);
}
static bool has_cc_flag(int argc, char **argv)
{
for (int i = ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | plugins/zprep_plugin.h | null | null | null | null | null | null | C | 2026-05-04T18:28:20.181843 |
#ifndef ZPREP_PLUGIN_H
#define ZPREP_PLUGIN_H
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#define ZEN_PLUGIN_API_VERSION 2
#define ZEN_PLUGIN_MAX_NAME 256
/**
* @brief Host API provided to plugins.
*
* Plugins use this structure to interact with the compiler/codegen environment.
*/
typedef struct... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/ast.h | null | null | null | null | null | null | C | 2026-05-04T18:28:20.249983 |
#ifndef AST_H
#define AST_H
#include "zprep.h"
#include <stdlib.h>
// Forward declarations.
struct ASTNode;
typedef struct ASTNode ASTNode;
// ** Formal Type System **
// Used for Generics, Type Inference, and robust pointer handling.
/**
* @brief Kind of literal value.
*/
typedef enum
{
LITERAL_INT = 0, ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/ast.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.279191 |
#include "ast.h"
#include "../parser/parser.h"
#include "zprep.h"
#include <stdlib.h>
#include <string.h>
void register_trait(const char *name)
{
if (!g_parser_ctx)
{
return;
}
TraitReg *r = xmalloc(sizeof(TraitReg));
r->name = xstrdup(name);
r->next = g_parser_ctx->registered_traits;
... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/analysis/move_check.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.280655 | #include "../constants.h"
#include "move_check.h"
#include "../diagnostics/diagnostics.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
extern ParserContext *g_parser_ctx;
#include "zprep.h"
MoveState *move_state_create(MoveState *parent)
{
MoveState *s = xmalloc(sizeof(MoveState));
s->entries =... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/analysis/move_check.h | null | null | null | null | null | null | C | 2026-05-04T18:28:20.282109 | #ifndef MOVE_CHECK_H
#define MOVE_CHECK_H
#include "../parser/parser.h"
#include "typecheck.h"
// Forward declaration
struct TypeChecker;
/**
* @brief Status of a moved variable in a specific flow path.
*/
typedef enum
{
MOVE_STATE_VALID,
MOVE_STATE_MOVED,
MOVE_STATE_MAYBE_MOVED // Used when merging di... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/analysis/const_fold.h | null | null | null | null | null | null | C | 2026-05-04T18:28:20.306051 | #ifndef CONST_FOLD_H
#define CONST_FOLD_H
#include "ast/ast.h"
#include "parser/parser.h"
// Evaluates a constant integer expression.
// Returns 1 if successful and sets *out_val.
// Returns 0 if the expression is not a compile-time constant.
int eval_const_int_expr(ASTNode *node, ParserContext *ctx, long long *out_v... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/analysis/const_fold.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.336479 | #include "../constants.h"
#include "analysis/const_fold.h"
#include <string.h>
#include <stdio.h>
int eval_const_int_expr(ASTNode *node, ParserContext *ctx, long long *out_val)
{
if (!node)
{
return 0;
}
switch (node->type)
{
case NODE_EXPR_LITERAL:
if (node->literal.type_kind ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | fuzz/harness.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.337775 | #include "parser/parser.h"
#include "analysis/typecheck.h"
#include "ast/ast.h"
#include "diagnostics/diagnostics.h"
#include "zen/zen_facts.h"
#include "zprep.h"
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
// Global config and state
extern int g_error_count;
exte... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/analysis/typecheck.h | null | null | null | null | null | null | C | 2026-05-04T18:28:20.390702 | #ifndef TYPECHECK_H
#define TYPECHECK_H
#include "ast.h"
#include "parser.h"
struct MoveState; // Forward declaration
// Type Checker Context
// Holds the state during the semantic analysis pass.
// Unlike the parser, this focuses on semantic validity (types, definitions).
/**
* @brief Type Checker Context.
*
* H... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/primitives.c | null | null | null | null | null | null | C | 2026-05-04T18:28:20.964210 |
#include "primitives.h"
#include <string.h>
static const ZenPrimitive primitives[] = {{"U0", TYPE_VOID, "void"},
{"u0", TYPE_VOID, "void"},
{"void", TYPE_VOID, "void"},
{"bool", TYPE_BOOL, "bo... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/primitives.h | null | null | null | null | null | null | C | 2026-05-04T18:28:21.013669 |
#ifndef PRIMITIVES_H
#define PRIMITIVES_H
#include "ast.h"
typedef struct
{
const char *zen_name;
TypeKind kind;
const char *c_name;
} ZenPrimitive;
/**
* @brief Returns the table of Zen primitives.
*/
const ZenPrimitive *get_zen_primitives(int *count);
/**
* @brief Finds a primitive by its Zen name... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/symbols.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.043290 | #include "symbols.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Scope *symbol_scope_create(Scope *parent, const char *name)
{
Scope *s = xmalloc(sizeof(Scope));
memset(s, 0, sizeof(Scope));
s->parent = parent;
if (name)
{
s->name = xstrdup(name);
}
return s;
}
void ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen.h | null | null | null | null | null | null | C | 2026-05-04T18:28:21.409286 |
#ifndef CODEGEN_H
#define CODEGEN_H
#include "../ast/ast.h"
#include "../parser/parser.h"
#include "../zprep.h"
#include <stdio.h>
// Main codegen entry points.
/**
* @brief Generates code for a given AST node.
*
* @param ctx Parser context.
* @param node The AST node to generate code for.
* @param out Output ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/ast/symbols.h | null | null | null | null | null | null | C | 2026-05-04T18:28:21.410515 | #ifndef SYMBOLS_H
#define SYMBOLS_H
#include "ast.h"
#include "zprep.h"
struct FuncSig;
typedef struct FuncSig FuncSig;
/**
* @brief Kind of symbol in the unified symbol table.
*/
typedef enum
{
SYM_VARIABLE, ///< Local or global variable.
SYM_FUNCTION, ///< Function or method.
SYM_STRUCT, ///< St... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen_stmt.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.411830 |
#include "codegen.h"
#include "zprep.h"
#include "../constants.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../plugins/plugin_manager.h"
#include "ast.h"
#include "zprep_plugin.h"
char *g_current_func_ret_type = NULL;
Type *g_current_func_ret_type_info = NULL;
// Helper... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen_main.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.439488 |
#include "../ast/ast.h"
#include "../constants.h"
#include "../zprep.h"
#include "codegen.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Helper: Check if a struct depends on another struct/enum by-value.
static int struct_depends_on(ParserContext *ctx, ASTNode *s1, const char *target_name)
{
if ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.440814 | #include "codegen.h"
#include "zprep.h"
#include "../constants.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../plugins/plugin_manager.h"
#include "ast.h"
#include "zprep_plugin.h"
// Flag to track whether we're emitting a call expression callee.
// When true, codegen_var_... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen_decl.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.524760 |
#include "../ast/ast.h"
#include "../constants.h"
#include "../parser/parser.h"
#include "../zprep.h"
#include "codegen.h"
#include "compat.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../platform/misra.h"
static void emit_freestanding_preamble(FILE *out)
{
fputs("#include <stddef.h>\n#... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/codegen_utils.c | null | null | null | null | null | null | C | 2026-05-04T18:28:21.553205 |
#include "../ast/ast.h"
#include "../constants.h"
#include "../parser/parser.h"
#include "../zprep.h"
#include "codegen.h"
#include "../ast/primitives.h"
#include <ctype.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Global state
ASTNode *global_user_structs = NULL;
char *g_curren... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/diagnostics/diagnostics.c | null | null | null | null | null | null | C | 2026-05-04T18:28:22.392260 | #include "diagnostics.h"
#include "constants.h"
#include "parser.h"
#include "lsp/cJSON.h"
#include <stdio.h>
static void emit_json(const char *level, Token t, const char *msg, const char *suggestion,
int diag_id)
{
cJSON *root = cJSON_CreateObject();
cJSON_AddStringToObject(
root... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/constants.h | null | null | null | null | null | null | C | 2026-05-04T18:28:22.609829 | #ifndef ZEN_CONSTANTS_H
#define ZEN_CONSTANTS_H
// Buffer sizes
#define MAX_TYPE_NAME_LEN 1024 ///< Max length for type name strings.
#define MAX_VAR_NAME_LEN 256 ///< Max length for variable/parameter names.
#define MAX_FUNC_NAME_LEN 1024 ///< Max length for function names.
#define MAX_SHORT_MSG_LEN 256 ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/diagnostics/diagnostics.h | null | null | null | null | null | null | C | 2026-05-04T18:28:22.809961 |
#ifndef DIAGNOSTICS_H
#define DIAGNOSTICS_H
#include "zprep.h"
// Forward declaration
struct ParserContext;
extern int g_error_count;
extern int g_warning_count;
// ** Core Error Functions **
/**
* @brief Fatal error (exits).
*/
void zpanic(const char *fmt, ...);
/**
* @brief Fatal system error (e.g. OOM), pr... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lexer/token.c | null | null | null | null | null | null | C | 2026-05-04T18:28:22.811124 |
#include "zprep.h"
extern char *g_current_filename;
void lexer_init(Lexer *l, const char *src)
{
l->src = src;
l->pos = 0;
l->line = 1;
l->col = 1;
l->emit_comments = 0;
}
static int is_ident_start(char c)
{
return isalpha(c) || c == '_';
}
static int is_ident_char(char c)
{
return isal... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/json_rpc.h | null | null | null | null | null | null | C | 2026-05-04T18:28:22.913630 |
#ifndef JSON_RPC_H
#define JSON_RPC_H
/**
* @brief Handle a raw JSON-RPC request string.
*
* Parses the request, routes it to the appropriate handler (initialize, textDocument/didChange,
* etc.), and sends back the response to stdout.
*
* @param json_str Null-terminated JSON request string.
*/
void handle_requ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_analysis.c | null | null | null | null | null | null | C | 2026-05-04T18:28:22.915079 | #include "cJSON.h"
#include "../constants.h"
#include "lsp_project.h" // Includes lsp_index.h, parser.h
#include "../plugins/plugin_manager.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
typedef struct Diagnostic
{
int line;
int col;
int len;
int se... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/cJSON.c | null | null | null | null | null | null | C | 2026-05-04T18:28:23.132479 | /*
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, m... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_formatter.c | null | null | null | null | null | null | C | 2026-05-04T18:28:23.337391 | #include "../constants.h"
#include "lsp_formatter.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
char *lsp_format_source(const char *src)
{
if (!src)
{
return NULL;
}
size_t len = strlen(src);
char *out = malloc(len * 2 + 1); // Extra space for added chara... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_formatter.h | null | null | null | null | null | null | C | 2026-05-04T18:28:23.338552 | #ifndef LSP_FORMATTER_H
#define LSP_FORMATTER_H
/**
* @brief Formats Zen C source code.
*
* @param src The original source code.
* @return char* The formatted source code (must be freed by caller).
*/
char *lsp_format_source(const char *src);
#endif
|
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_index.h | null | null | null | null | null | null | C | 2026-05-04T18:28:23.597478 |
#ifndef LSP_INDEX_H
#define LSP_INDEX_H
#include "parser.h"
/**
* @brief Type of an indexed AST range.
*/
typedef enum
{
RANGE_DEFINITION, ///< Defines a symbol.
RANGE_REFERENCE ///< References a symbol.
} RangeType;
/**
* @brief A range in the source code mapping to semantic info.
*/
typedef struct L... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_index.c | null | null | null | null | null | null | C | 2026-05-04T18:28:23.746864 | #include "../constants.h"
#include "lsp_index.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
LSPIndex *lsp_index_new()
{
return calloc(1, sizeof(LSPIndex));
}
void lsp_index_free(LSPIndex *idx)
{
if (!idx)
{
return;
}
LSPRange *c = idx->head;
while (c)
{
LSP... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_main.c | null | null | null | null | null | null | C | 2026-05-04T18:28:23.768503 |
#include "json_rpc.h"
#include "../constants.h"
#include "zprep.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
// Simple Main Loop for LSP.
int lsp_main(int argc, char **argv)
{
(void)argc;
(void)argv;
fprintf(stderr, "zls: Zen Language Server starting...\n");
g_conf... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_project.c | null | null | null | null | null | null | C | 2026-05-04T18:28:23.769556 | #include "lsp_project.h"
#include "../constants.h"
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
LSPProject *g_project = NULL;
int g_is_indexing = 0;
static void scan_dir(const char *dir_path);
// Initialize the project with a root directory
void lsp_project_ini... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_project.h | null | null | null | null | null | null | C | 2026-05-04T18:28:23.986502 | #ifndef LSP_PROJECT_H
#define LSP_PROJECT_H
#include "parser.h"
#include "lsp_index.h"
/**
* @brief Represents a tracked file in the LSP project.
*/
typedef struct ProjectFile
{
char *path; ///< Absolute file path.
char *uri; ///< file:// URI.
char *source; ///< Cached source content (in-m... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/lsp_semantic.c | null | null | null | null | null | null | C | 2026-05-04T18:28:24.580260 | #include "../constants.h"
#include "lsp_project.h"
#include "cJSON.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Legend indices
#define TOKEN_TYPE_VARIABLE 0
#define TOKEN_TYPE_FUNCTION 1
#define TOKEN_TYPE_STRUCT 2
#define TOKEN_TYPE_KEYWORD 3
#define TOKEN_TYPE_STRING 4
#define TOKEN_TYPE_NUMBER 5... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/parser/parser.h | null | null | null | null | null | null | C | 2026-05-04T18:28:24.581453 |
#ifndef PARSER_H
#define PARSER_H
#include "ast.h"
#include "zprep.h"
// Operator precedence for expression parsing
/**
* @brief Operator precedence for expression parsing.
*/
typedef enum
{
PREC_NONE, ///< No precedence.
PREC_ASSIGNMENT, ///< Assignment operators.
PREC_TERNARY, ///< Ternary ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/main.c | null | null | null | null | null | null | C | 2026-05-04T18:28:24.582945 | #include "codegen/codegen.h"
#include "parser/parser.h"
#include "constants.h"
#include "plugins/plugin_manager.h"
#include "repl/repl.h"
#include "zen/zen_doc.h"
#include "zen/zen_facts.h"
#include "zprep.h"
#include "analysis/typecheck.h"
#include "codegen/compat.h"
#include <stdio.h>
#include <stdlib.h>
#include <st... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/parser/parser_decl.c | null | null | null | null | null | null | C | 2026-05-04T18:28:24.778691 |
#include "parser.h"
#include "../constants.h"
#include <ctype.h>
#include "analysis/const_fold.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "../ast/ast.h"
#include "../plugins/plugin_manager.h"
#include "../zen/zen_facts.h"
#include "zprep_plugin.h"
#include "../codegen/c... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/parser/parser_core.c | null | null | null | null | null | null | C | 2026-05-04T18:28:24.815021 |
#include "parser.h"
#include "../constants.h"
#include "zprep.h"
#include "analysis/const_fold.h"
static ASTNode *generate_derive_impls(ParserContext *ctx, ASTNode *strct, char **traits, int count);
DeclarationAttributes parse_attributes(ParserContext *ctx, Lexer *l)
{
(void)ctx;
DeclarationAttributes res;
... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/compiler.h | null | null | null | null | null | null | C | 2026-05-04T18:28:25.239932 | #ifndef ZC_PLATFORM_COMPILER_H
#define ZC_PLATFORM_COMPILER_H
#ifdef __cplusplus
/* C++ mode */
#define ZC_AUTO auto ///< Auto type inference.
#define ZC_AUTO_INIT(var, init) auto var = (init)
#define ZC_CAST(T, x) static_cast<T>(x) ///< Static cast.
#define ZC_REINTERPRET(T, x) reinterpret_cast<T>(x) ///<... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/console.c | null | null | null | null | null | null | C | 2026-05-04T18:28:25.240900 | #include "os.h"
#include <stdio.h>
#include <stdlib.h>
#if ZC_OS_WINDOWS
#include <windows.h>
#include <conio.h>
#include <io.h>
static DWORD orig_console_mode;
static int raw_mode_enabled = 0;
void repl_disable_raw_mode(void)
{
if (raw_mode_enabled)
{
HANDLE hIn = GetStdHandle(STD_INPUT_HANDLE);
... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/dylib.c | null | null | null | null | null | null | C | 2026-05-04T18:28:25.393288 | #include "os.h"
#include <stdio.h>
#if ZC_OS_WINDOWS
#include <windows.h>
void *z_dlopen(const char *path)
{
return (void *)LoadLibraryA(path);
}
void *z_dlsym(void *handle, const char *symbol)
{
return (void *)GetProcAddress((HMODULE)handle, symbol);
}
void z_dlclose(void *handle)
{
if (handle)
{
... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/arch.h | null | null | null | null | null | null | C | 2026-05-04T18:28:25.416418 | #ifndef ZC_PLATFORM_ARCH_H
#define ZC_PLATFORM_ARCH_H
#if defined(_WIN32) || defined(_WIN64)
#define ZC_OS_WINDOWS 1
#else
#define ZC_OS_WINDOWS 0
#endif
#if defined(__linux__) && !defined(__ANDROID__)
#define ZC_OS_LINUX 1
#else
#define ZC_OS_LINUX 0
#endif
#if defined(__APPLE__) && defined(__MACH__)
#define ZC_OS_... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/lang.h | null | null | null | null | null | null | C | 2026-05-04T18:28:25.507017 | #ifndef ZC_PLATFORM_LANG_H
#define ZC_PLATFORM_LANG_H
// Standard C headers
#include <ctype.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// MSVC polyfills
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#de... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/parser/parser_struct.c | null | null | null | null | null | null | C | 2026-05-04T18:28:25.751556 |
#include "parser.h"
#include "../constants.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "../ast/ast.h"
#include "../plugins/plugin_manager.h"
#include "../zen/zen_facts.h"
#include "zprep_plugin.h"
#include "../codegen/codegen.h"
extern char *g_current... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/platform/misra.c | null | null | null | null | null | null | C | 2026-05-04T18:28:25.846984 | #include "analysis/typecheck.h"
#include "analysis/const_fold.h"
#include "ast/ast.h"
#include "constants.h"
#include "platform/misra.h"
#include "parser/parser.h"
#include "zprep.h"
#include <string.h>
#include <stdio.h>
#include <ctype.h>
void emit_misra_preamble(FILE *out)
{
// Minimal standard headers allowed ... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/codegen/compat.h | null | null | null | null | null | null | C | 2026-05-04T18:28:27.014707 |
#ifndef ZC_COMPAT_H
#define ZC_COMPAT_H
#include "platform/compiler.h"
/* File extensions for mixed source compilation */
#define ZC_EXT_C ".c"
#define ZC_EXT_CPP ".cpp"
#define ZC_EXT_M ".m"
#define ZC_EXT_MM ".mm"
#define ZC_EXT_O ".o"
#define ZC_EXT_A ".a"
#define ZC_EXT_DYLIB ".dylib"
#define ZC_EXT_SO ".so"
#d... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/cJSON.h | null | null | null | null | null | null | C | 2026-05-04T18:28:27.266000 | /*
Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, m... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/lsp/json_rpc.c | null | null | null | null | null | null | C | 2026-05-04T18:28:27.657507 | #include "json_rpc.h"
#include "cJSON.h"
#include "lsp_project.h"
#include "lsp_formatter.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void lsp_check_file(const char *uri, const char *src, int id);
void lsp_goto_definition(const char *uri, int line, int col, int id);
void lsp_hover(const char *uri, in... |
zenc-lang/zenc | https://github.com/zenc-lang/zenc | null | null | null | null | 4,216 | null | null | mit | null | null | null | null | null | null | null | src/parser/parser_type.c | null | null | null | null | null | null | C | 2026-05-04T18:28:30.416754 | #include "../ast/ast.h"
#include "../constants.h"
#include "analysis/const_fold.h"
#include "parser.h"
#include "../ast/primitives.h"
Type *parse_type_base(ParserContext *ctx, Lexer *l)
{
RECURSION_GUARD(ctx, l, type_new(TYPE_UNKNOWN));
Token t = lexer_peek(l);
if (t.type == TOK_IDENT)
{
int e... |
zyantific/zydis | https://github.com/zyantific/zydis | null | null | null | null | 4,195 | null | null | mit | null | null | null | null | null | null | null | examples/ZydisWinKernel.c | null | null | null | null | null | null | C | 2026-05-04T18:28:32.720249 | /***************************************************************************************************
Zyan Disassembler Engine (Zydis)
Original Author : Matthijs Lavrijsen
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "S... |
zyantific/zydis | https://github.com/zyantific/zydis | null | null | null | null | 4,195 | null | null | mit | null | null | null | null | null | null | null | examples/RewriteCode.c | null | null | null | null | null | null | C | 2026-05-04T18:28:32.726563 | /***************************************************************************************************
Zyan Disassembler Library (Zydis)
Original Author : Joel Hoener
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.